Skip to content

Commit 2c6d486

Browse files
committed
Support bool
1 parent 16b0bac commit 2c6d486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: flox/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def _is_bool_supported_reduction(func: T_Agg) -> bool:
179179
if isinstance(func, Aggregation):
180180
func = func.name
181181
return (
182-
func in ["all", "any"]
182+
func in ["all", "any", "topk"]
183183
# TODO: enable in npg
184184
# or _is_first_last_reduction(func)
185185
# or _is_minmax_reduction(func)

0 commit comments

Comments
 (0)