Skip to content

REF: standardize patterns in Block Methods #45840

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 1 commit into from
Feb 5, 2022

Conversation

jbrockmendel
Copy link
Member

Use try/except instead of self._can_hold_element in Block.putmask, use the splitting pattern from Block.putmask in Block.where (eventually to be refactored into a helper)

@jreback jreback added Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code labels Feb 5, 2022
@jreback jreback added this to the 1.5 milestone Feb 5, 2022
@jreback jreback merged commit 21bbee6 into pandas-dev:main Feb 5, 2022
@jbrockmendel jbrockmendel deleted the ref-can_hold_element-pattern branch February 5, 2022 21:36
phofl pushed a commit to phofl/pandas that referenced this pull request Feb 14, 2022
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
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 Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants