Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rhshadrach
Copy link
Member

@rhshadrach rhshadrach added Bug Groupby pyarrow dtype retention op with pyarrow dtype -> expect pyarrow result labels Dec 31, 2025
@rhshadrach rhshadrach added this to the 3.0 milestone Dec 31, 2025
"""
binner, bins, binlabels = self._get_binner_for_time()
assert len(bins) == len(binlabels)
if self._timegrouper._arrow_dtype is not None:
Copy link
Member

Choose a reason for hiding this comment

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

is there a reason why we have to do a cast-back approach instead of prevent-casting-away earlier on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Groupby pyarrow dtype retention op with pyarrow dtype -> expect pyarrow result

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: pd.Grouper converts PyArrow timestamp to numpy datetime64

2 participants