Skip to content

DEPR: values casting dt64tz, Interval, Period #54717

Open
@jbrockmendel

Description

@jbrockmendel

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

Metadata

Metadata

Labels

Compatpandas objects compatability with Numpy or Python functionsDatetimeDatetime data dtypeDeprecateFunctionality to remove in pandasExtensionArrayExtending pandas with custom dtypes or arrays.IntervalInterval data typePeriodPeriod data type

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions