pandas-dev / pandas

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
https://pandas.pydata.org
BSD 3-Clause "New" or "Revised" License
43.78k stars 17.97k forks source link

DEPR: values casting dt64tz, Interval, Period #54717

Open jbrockmendel opened 1 year ago

jbrockmendel commented 1 year ago

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

pedrocariellof commented 5 months ago

Take