We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
This request is related to #52321 and #52330. Currently, Arrow dtype does not support function: https://pandas.pydata.org/docs/reference/api/pandas.Series.to_period.html
The following script throws an error:
import pandas as pd from datetime import datetime s = pd.Series([datetime.now()], dtype='date32[pyarrow]') s.dt.to_period('D')
AttributeError: 'ArrowTemporalProperties' object has no attribute 'to_period'
Otherwise, it requires convert arrow type back to pandas type which is not efficient:
import pandas as pd from datetime import datetime s = pd.Series([datetime.now()], dtype='date32[pyarrow]') pd.to_datetime(s).dt.to_period('D')
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
This request is related to #52321 and #52330. Currently, Arrow dtype does not support function: https://pandas.pydata.org/docs/reference/api/pandas.Series.to_period.html
Feature Description
The following script throws an error:
Alternative Solutions
Otherwise, it requires convert arrow type back to pandas type which is not efficient:
Additional Context
No response
The text was updated successfully, but these errors were encountered: