Skip to content

Commit

Permalink
fixup flattening
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Mar 16, 2024
1 parent 6cbdf1e commit 0170195
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions narwhals/pandas_like/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@ def evaluate_into_exprs(
"""Evaluate each expr into Series."""
series: list[PandasSeries] = [
item
for sublist in [
evaluate_into_expr(df, into_expr) for into_expr in flatten(*exprs)
]
for sublist in [evaluate_into_expr(df, into_expr) for into_expr in flatten(exprs)]
for item in sublist
]
for name, expr in named_exprs.items():
Expand Down

0 comments on commit 0170195

Please sign in to comment.