Skip to content

Commit

Permalink
test min_count=0
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Jun 27, 2023
1 parent 2989080 commit 0573a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flox/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1976,7 +1976,7 @@ def groupby_reduce(
else:
min_count_ = 0
else:
min_count_ = 0
min_count_ = min_count

# TODO: set in xarray?
if min_count_ > 0 and func in ["nansum", "nanprod"] and fill_value is None:
Expand Down

0 comments on commit 0573a9a

Please sign in to comment.