Skip to content

Conversation

@jbrockmendel
Copy link
Member

The recarray handling in internals.construction is inconsistent with the other recarray handling. Hopefully I can get that sorted out and then we can re-use sanitize_masked_array there too.

data.soften_mask() # set hardmask False if it was True
data[mask] = fill_value
else:
data = data.copy()
Copy link
Member Author

Choose a reason for hiding this comment

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

removing this copy does not break any tests, not clear why it is needed

@jreback jreback added Constructors Series/DataFrame/Index/pd.array Constructors Refactor Internal refactoring of code labels Dec 11, 2020
@jreback jreback added this to the 1.3 milestone Dec 11, 2020
@jreback jreback merged commit e47dbdf into pandas-dev:master Dec 11, 2020
@jbrockmendel jbrockmendel deleted the ref-construction branch December 11, 2020 23:08
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

Constructors Series/DataFrame/Index/pd.array Constructors Refactor Internal refactoring of code

2 participants