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

BUG: Preserve timezone in numpy_dtype for ArrowDtype #60514

Closed

Conversation

Koookadooo
Copy link

  • Added tests in pandas/tests/dtypes/test_dtypes.py to ensure numpy_dtype preserves timezone information for ArrowDtype.
  • Type annotations are already present in the modified numpy_dtype function.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.
  • Added a note in the bug fixes section: - Fixed an issue where .convert_dtypes(dtype_backend="pyarrow") would strip timezone information from timezone-aware PyArrow timestamps. [GH#60237](https://github.com/pandas-dev/pandas/issues/60237)

@Koookadooo
Copy link
Author

pre-commit.ci autofix

@Koookadooo
Copy link
Author

pre-commit.ci autofix

@Koookadooo
Copy link
Author

pre-commit.ci autofix

@Koookadooo
Copy link
Author

pre-commit.ci autofix

@Koookadooo
Copy link
Author

pre-commit.ci autofix

@Koookadooo
Copy link
Author

pre-commit.ci autofix

Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Jan 11, 2025
@mroeschke
Copy link
Member

Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen.

@mroeschke mroeschke closed this Jan 13, 2025
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.

BUG: .convert_dtypes(dtype_backend="pyarrow") strips timezone from tz-aware pyarrow timestamp Series
2 participants