Skip to content
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

ENH: Add numeric_only to frame methods #46708

Merged
merged 2 commits into from
Apr 9, 2022

Conversation

rhshadrach
Copy link
Member

@rhshadrach rhshadrach commented Apr 8, 2022

Part of #46560

After numeric_only is added to any necessary methods (i.e. where they behave like numeric_only=True but don't have a numeric_only argument), the plan is to deprecate numeric_only=True across all methods. Then pandas 2.0 will default to numeric_only=False across the board. This PR handles all frame methods for the first step.

@rhshadrach rhshadrach added Enhancement Numeric Operations Arithmetic, Comparison, and Logical operations Nuisance Columns Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply labels Apr 8, 2022
@jreback jreback added this to the 1.5 milestone Apr 9, 2022
@jreback jreback merged commit 860797b into pandas-dev:main Apr 9, 2022
@rhshadrach rhshadrach deleted the add_numeric_only_frame branch April 9, 2022 21:54
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
Enhancement Nuisance Columns Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply Numeric Operations Arithmetic, Comparison, and Logical operations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants