Skip to content

ENH: Add CoW optimization for fillna #51279

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

Merged
merged 8 commits into from
Feb 11, 2023
Merged

ENH: Add CoW optimization for fillna #51279

merged 8 commits into from
Feb 11, 2023

Conversation

phofl
Copy link
Member

@phofl phofl commented Feb 9, 2023

phofl and others added 5 commits February 10, 2023 13:55
# Conflicts:
#	doc/source/whatsnew/v2.0.0.rst
#	pandas/core/internals/blocks.py
#	pandas/tests/copy_view/test_interp_fillna.py
return nbs

if limit is not None:
mask[mask.cumsum(self.ndim - 1) > limit] = False

if inplace:
if using_cow and self.refs.has_reference():
# TODO(CoW): If using_cow is implemented for putmask we can defer
Copy link
Member

Choose a reason for hiding this comment

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

I merged the putmask PR

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep updated, thx

@phofl
Copy link
Member Author

phofl commented Feb 11, 2023

failure unrelated (flaky test)

@phofl phofl merged commit d744bdb into pandas-dev:main Feb 11, 2023
@phofl phofl deleted the cow_fillna branch March 1, 2023 23:20
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.

2 participants