Skip to content

Commit

Permalink
Fix upstream idxmaxmin for uneven split_every (#7538)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsignell committed Apr 12, 2021
1 parent e83379d commit 09862ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask/dataframe/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -6516,7 +6516,7 @@ def idxmaxmin_row(x, fn=None, skipna=True):


def idxmaxmin_combine(x, fn=None, skipna=True):
if len(x) == 0:
if len(x) <= 1:
return x
return (
x.groupby(level=0)
Expand Down

0 comments on commit 09862ed

Please sign in to comment.