Skip to content

Commit

Permalink
modin can use fastpath too
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Mar 19, 2024
1 parent 1d614da commit 8b2734d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion narwhals/pandas_like/group_by.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ def agg(
raise ValueError(msg)
output_names.extend(expr._output_names)

if implementation == "pandas" and not os.environ.get("NARWHALS_FORCE_GENERIC"):
if implementation in ("pandas", "modin") and not os.environ.get(
"NARWHALS_FORCE_GENERIC"
):
return agg_pandas(
grouped,
exprs,
Expand Down

0 comments on commit 8b2734d

Please sign in to comment.