Skip to content

Conversation

mroeschke
Copy link
Member

No description provided.

@mroeschke mroeschke merged commit b3d1805 into pandas-dev:main May 16, 2024
@mroeschke mroeschke deleted the cln/using_copy_on_write branch May 16, 2024 21:37
if not self._hasna:
# TODO(CoW): Not necessary anymore when CoW is the default
return self.copy()

Copy link
Contributor

Choose a reason for hiding this comment

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

Why not ´return self´?

Copy link
Member Author

Choose a reason for hiding this comment

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

We have unit testing that asserts that ExtensionArray.fillna should return a copy even if a no-op

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants