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
In [30]: pd.Series( ...: range(3), ...: index=pd.Index([ ...: "2024-01-01 00:00:00", ...: "2024-01-01 12:00:00", ...: "2024-01-02 00:00:00" ...: ], dtype=pd.ArrowDtype(pa.timestamp("s"))) ...: ).resample("D").asfreq().index.dtype Out[30]: timestamp[s][pyarrow]
When downsampling to a resolution of day or lower, I think .resample should return a pyarrow date type
.resample
status quo
No response
The text was updated successfully, but these errors were encountered:
why? im wary of any silent dtype-changing, which we're moving away from elsewhere
Sorry, something went wrong.
I think resampling to days declares the intent of working with dates and not timestamps
If a user were to resample by even a lower resolution (e.g. W, ME), would you also expect date32 type?
W
ME
date32
Yes - anything date or lower I would expect a date.
No branches or pull requests
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
Feature Description
When downsampling to a resolution of day or lower, I think
.resample
should return a pyarrow date typeAlternative Solutions
status quo
Additional Context
No response
The text was updated successfully, but these errors were encountered: