Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REF: move __from_arrow__ to common base class for numeric masked arrays #38411

Merged

Conversation

jorisvandenbossche
Copy link
Member

xref #38110

@jorisvandenbossche jorisvandenbossche added NA - MaskedArrays Related to pd.NA and nullable extension arrays Refactor Internal refactoring of code labels Dec 11, 2020
@jorisvandenbossche jorisvandenbossche added this to the 1.3 milestone Dec 11, 2020
results.append(num_arr)

if len(results) == 1:
# avoid additional copy in _concat_same_type
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like this is the only change, otherwise this is pretty much copy/paste?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed (that's the second commit, the first one is mainly copy/paste)

Copy link
Member

@jbrockmendel jbrockmendel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jreback jreback merged commit 643d62c into pandas-dev:master Dec 12, 2020
@jreback
Copy link
Contributor

jreback commented Dec 12, 2020

thanks @jorisvandenbossche

@jorisvandenbossche jorisvandenbossche deleted the EA-masked-consolidate-arrow branch December 13, 2020 07:30
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NA - MaskedArrays Related to pd.NA and nullable extension arrays Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants