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

Why does DatetimeIndex have _timezone in addition to _tz? #23624

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

Why does DatetimeIndex have _timezone in addition to _tz? #23624

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

Comments

@jbrockmendel
Copy link
Member

Name seems redundant. Can we document why it exists?

ref #23587 (comment)

@gfyoung gfyoung added Docs Datetime Datetime data dtype labels Nov 13, 2018
@gfyoung
Copy link
Member

gfyoung commented Nov 13, 2018

Is there a good reason for that redundancy existing? Otherwise, I might consider looking into deprecating one of them in favor of the other.

@jbrockmendel
Copy link
Member Author

That's the question. _tz is the one we actually use, so _timezone would be the one to remove

@mroeschke mroeschke added Deprecate Functionality to remove in pandas and removed Docs labels Apr 1, 2020
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