Skip to content

REF: avoid overriding some NDFrame methods #52475

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 4 commits into from
Apr 7, 2023

Conversation

jbrockmendel
Copy link
Member

The only change in most places is that the docstrings say "Series/DataFrame" instead of just "Series" for the Series method and "DataFrame" in the DataFrame method.

In fillna the axis keyword says "{0 or 'index'} for Series, {0 or 'index', 1 or 'columns'} for DataFrame" instead of being more specific in each subclass. Same for fill_axis and broadcast_axis (both of which are deprecated) in align

@mroeschke mroeschke added Refactor Internal refactoring of code Typing type annotations, mypy/pyright type checking labels Apr 7, 2023
@mroeschke mroeschke added this to the 2.1 milestone Apr 7, 2023
@mroeschke mroeschke merged commit 38c57ce into pandas-dev:main Apr 7, 2023
@mroeschke
Copy link
Member

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the cln-docstrings branch April 7, 2023 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Internal refactoring of code Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants