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

DEPR: method, limit, fill_axis keywords in align #51968

Merged
merged 6 commits into from Mar 16, 2023

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Mar 14, 2023

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

xref #51856, closes if we decide we don't want to deprecate broadcast_axis

@@ -9355,15 +9355,23 @@ def align(
- pad / ffill: propagate last valid observation forward to next valid.
- backfill / bfill: use NEXT valid observation to fill gap.

.. deprecated:: 2.1

limit : int, default None
Copy link
Member

Choose a reason for hiding this comment

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

Should we change the defaults to lib.no_default? (for all keywords)

Copy link
Member Author

Choose a reason for hiding this comment

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

i guess thatd be harmless, OK

Copy link
Member Author

Choose a reason for hiding this comment

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

good call here, we had a few places where we explicitly passed method=None that werent caught in the previous version.

want to weigh in on broadcast_axis in #51856?

@mroeschke mroeschke added the Deprecate Functionality to remove in pandas label Mar 15, 2023
@phofl phofl added this to the 2.1 milestone Mar 15, 2023
@phofl phofl merged commit 74e8c00 into pandas-dev:main Mar 16, 2023
39 of 40 checks passed
@phofl
Copy link
Member

phofl commented Mar 16, 2023

thx @jbrockmendel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants