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: frequencies.getOffset #23672

Closed
jbrockmendel opened this issue Nov 13, 2018 · 2 comments
Closed

DEPR: frequencies.getOffset #23672

jbrockmendel opened this issue Nov 13, 2018 · 2 comments
Labels
Datetime Datetime data dtype Deprecate Functionality to remove in pandas

Comments

@jbrockmendel
Copy link
Member

tseries.frequencies aliases getOffset = get_offset. That has been around and unused for a while, should be deprecated and eventually removed.

tseries.offsets.generate_range has a kwarg time_rule with docstring description:

    time_rule : (legacy) name of DateOffset object to be used, optional
        Corresponds with names expected by tseries.frequencies.get_offset

If this is legacy behavior, it should be deprecated and eventually removed.

@gfyoung gfyoung added Datetime Datetime data dtype Deprecate Functionality to remove in pandas labels Nov 13, 2018
@mroeschke
Copy link
Member

There's an issue to depreciate get_offset as well. #4205

@jbrockmendel jbrockmendel changed the title DEPR: frequencies.getOffset, generate_range time_rule kwarg DEPR: frequencies.getOffset Nov 28, 2019
@jbrockmendel
Copy link
Member Author

getOffset is gone, closing

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

No branches or pull requests

3 participants