You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so this is straightforward to fix, though a bit down in the weeds:
right now we pass the block.values to self.grouper.aggregatehere. If instead we pass the block, then in the actual impl here. we can call block._try_coerce_args(...) which will return something that we can operate on.
The reason for this is that we are already callin block._try_coerce_results(...) on the returned data to coerce back to the original dtype.
This may cause other breakages, so may have to modify things a bit.
Code Sample, a copy-pastable example if possible
The output is
Expected Output
Note that the issue is with
first()
and notgroupby
:gives the correct output of
output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: