Skip to content

Conversation

@jbrockmendel
Copy link
Member

the difference isnt huge, but we do access _ndarray in a lot of places so it adds up

@jreback jreback added Index Related to the Index class or subclasses Performance Memory or execution speed performance labels Feb 24, 2021
@jreback jreback added this to the 1.3 milestone Feb 24, 2021
@jreback jreback merged commit 8ceec8b into pandas-dev:master Feb 24, 2021
# NDArrayBackedExtensionArray compat

def __setstate__(self, state):
if isinstance(state, dict):
Copy link
Contributor

Choose a reason for hiding this comment

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

woa, but ok. can we create an issue to track when we should remove things like this (e.g. call it pickle compatibility and point to this PR). will be a while for sure, but should track.

Copy link
Member Author

Choose a reason for hiding this comment

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

sure. yah, pickle backwards compat is a PITA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Index Related to the Index class or subclasses Performance Memory or execution speed performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants