BUG: Segmentation fault with groupby/transform #46566
Labels
Apply
Apply, Aggregate, Transform, Map
Bug
Groupby
Regression
Functionality that used to work in a prior pandas version
Milestone
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
👋 Since about February 27, the above snippet has been generating a segmentation fault in pandas
main
. As far as I can tell, this is coming fromget_group_index_sorter()
inpandas.core.sorting
.Based on the timing and git history, it may be related to #45953, though I've been unable to identify the source of the problem thus far.
A few observations:
"A"
works fine)transform
. If I useapply
it works.Expected Behavior
No segfault should occur.
Installed Versions
This shows up on pandas
main
.Based on the nightly builds here, it seems like the first affected version was this one.
The text was updated successfully, but these errors were encountered: