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

Fixed apply_index #35165

Merged
merged 12 commits into from
Jul 15, 2020
Merged

Fixed apply_index #35165

merged 12 commits into from
Jul 15, 2020

Conversation

TomAugspurger
Copy link
Contributor

Closes #34580

@TomAugspurger TomAugspurger added Frequency DateOffsets Deprecate Functionality to remove in pandas labels Jul 7, 2020
@TomAugspurger TomAugspurger added this to the 1.1 milestone Jul 7, 2020
@TomAugspurger
Copy link
Contributor Author

cc @jbrockmendel

@TomAugspurger
Copy link
Contributor Author

CI is passing, travis just hasn't reported back.

@TomAugspurger
Copy link
Contributor Author

cc @jreback

@@ -938,6 +945,7 @@ Methods
:toctree: api/

FY5253.apply
FY5253.apply_index
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to add these back if we are deprecating?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know why, but sphinx started complaining about these not being present. Which is technically correct, since it's a method on those classes. It just raises.

So I think keep for now, and just remove them all when we enforce the deprecation in 2.0

pandas/_libs/tslibs/offsets.pyx Outdated Show resolved Hide resolved
@TomAugspurger
Copy link
Contributor Author

All green again.

@jreback jreback merged commit 66003e4 into pandas-dev:master Jul 15, 2020
@jreback
Copy link
Contributor

jreback commented Jul 15, 2020

thanks @TomAugspurger

fangchenli pushed a commit to fangchenli/pandas that referenced this pull request Jul 16, 2020
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 Frequency DateOffsets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DEPR: DateOffset.apply and DateOffset.apply_index
3 participants