-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Python] Support non-nanosecond units in method to_pandas_dtype for timestamp and duration types #34462
Comments
4 tasks
AlenkaF
changed the title
Support non-nanosecond units in method to_pandas_dtype for timestamp and duration types
[Python] Support non-nanosecond units in method to_pandas_dtype for timestamp and duration types
Mar 6, 2023
Related: #33321 (for the actual data conversions) |
This was referenced Apr 20, 2023
This issue also came up after pandas implemented |
Duplicate of #33321 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the enhancement requested
Pyarrow
timestamp(unit).to_pandas_dtype()
andduration(unit).to_pandas_dtype
are currently returningdtype('<M8[ns]')
with nanosecond units regardless of the pyarrow units. Pandas has recently added support for non-nanosecond units so I believe pyarrow can now preserve the units here.Component(s)
Python
The text was updated successfully, but these errors were encountered: