Groupby reduction operations inserts 'by' columns in all column partition when as_index=False
#2512
Labels
bug 🦗
Something isn't working
as_index=False
#2512
System information
modin.__version__
): c2e7f9eOutput
Describe the problem
Modin, while doing the reduce phase of the groupby reduce, resets the index of a frame with inserting index levels at the beginning of the frame (pandas behavior). However, when we got a frame that can't fit into a single column partition we get a situation when these index levels will be inserted into the beginning of all column partitions, so they'll be duplicated.
P.S.
groupby_agg
from #2461 doesn't have that issue because it check ispartition_idx == 0
before resetting index, maybe we should apply the same approach and for reduction operations.The text was updated successfully, but these errors were encountered: