Skip to content

REF: Block.putmask dont use split_and_operate #40281

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 2 commits into from
Mar 8, 2021

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

I find this much clearer. Along with #40256 we'll be able to get rid of split_and_operate altogether

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

small comment for followon

new_blocks = self.split_and_operate(mask, f, True)
return new_blocks
else:
is_array = isinstance(new, np.ndarray)
Copy link
Contributor

Choose a reason for hiding this comment

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

prob should add a comment that splitting a block

@jreback jreback added this to the 1.3 milestone Mar 8, 2021
@jreback jreback added the Internals Related to non-user accessible pandas implementation label Mar 8, 2021
@jreback jreback merged commit 8e0b744 into pandas-dev:master Mar 8, 2021
@jbrockmendel jbrockmendel deleted the ref-split_and_operate branch March 8, 2021 15:15
jbrockmendel added a commit to jbrockmendel/pandas that referenced this pull request Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants