Skip to content

DOC: object_dtype_tzaware_strings.atype(dt64) raises #51514

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

Merged
merged 4 commits into from
Feb 24, 2023

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel added this to the 2.0 milestone Feb 20, 2023
@mroeschke mroeschke added the Docs label Feb 21, 2023
Copy link
Member

@phofl phofl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be ok with not deprecating this

@mroeschke mroeschke merged commit 2a3420a into pandas-dev:main Feb 24, 2023
@mroeschke
Copy link
Member

Thanks @jbrockmendel

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Feb 24, 2023
@jbrockmendel jbrockmendel deleted the doc-50140 branch February 24, 2023 21:14
mroeschke pushed a commit that referenced this pull request Feb 24, 2023
….atype(dt64) raises) (#51619)

Backport PR #51514: DOC: object_dtype_tzaware_strings.atype(dt64) raises

Co-authored-by: jbrockmendel <[email protected]>
@jorisvandenbossche
Copy link
Member

To be explicit about the implications of doing this as a breaking change: this breaks pandas<->pyarrow roundtrips, and so eg also pandas<->parquet roundtripping (admittedly, in a somewhat corner case of using a DatetimeIndex for the column labels)

So users doing pd.read_parquet(..) with a file they wrote earlier will now get an error (with released pyarrow) that they can't easily solve themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

REGR: casting datetime strings with offzet to tz-naive datetime64 fails
4 participants