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: values casting dt64tz, Interval, Period #54717

Open
jbrockmendel opened this issue Aug 23, 2023 · 0 comments
Open

DEPR: values casting dt64tz, Interval, Period #54717

jbrockmendel opened this issue Aug 23, 2023 · 0 comments
Labels
Compat pandas objects compatability with Numpy or Python functions Deprecate Functionality to remove in pandas ExtensionArray Extending pandas with custom dtypes or arrays. Interval Interval data type Period Period data type Timeseries

Comments

@jbrockmendel
Copy link
Member

jbrockmendel commented Aug 23, 2023

ATM series.values drops the tz from dt64tz, converts interval to object, converts period to object, but preserves other EAs. We have kept this weird behavior for backward compatibility, should eventually just bite the bullet and deprecate these weird behaviors, just match _values

I think this would close #55128

@jbrockmendel jbrockmendel added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Aug 23, 2023
@lithomas1 lithomas1 added Timeseries Period Period data type Compat pandas objects compatability with Numpy or Python functions Deprecate Functionality to remove in pandas Interval Interval data type ExtensionArray Extending pandas with custom dtypes or arrays. and removed Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions Deprecate Functionality to remove in pandas ExtensionArray Extending pandas with custom dtypes or arrays. Interval Interval data type Period Period data type Timeseries
Projects
None yet
Development

No branches or pull requests

2 participants