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 · 1 comment
Open

DEPR: values casting dt64tz, Interval, Period #54717

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

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 Datetime Datetime data dtype 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
@pedrocariellof
Copy link
Contributor

Take

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 Datetime Datetime data dtype Deprecate Functionality to remove in pandas ExtensionArray Extending pandas with custom dtypes or arrays. Interval Interval data type Period Period data type
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants