Skip to content

Commit

Permalink
fix[python]: Print correct settings for enabling experimental **kwarg…
Browse files Browse the repository at this point in the history
…s support (#4740) (#4742)
  • Loading branch information
ghuls committed Sep 6, 2022
1 parent c1829c8 commit bf99f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/internals/lazyframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ def with_columns(
if named_exprs and not Config.with_columns_kwargs:
raise RuntimeError(
"**kwargs support is experimental; requires opt-in via"
" `pl.Config.set_with_columns_kwargs(True)`"
" `pl.Config.with_columns_kwargs = True`"
)
elif exprs is None and not named_exprs:
raise ValueError("Expected at least one of 'exprs' or **named_exprs")
Expand Down

0 comments on commit bf99f6c

Please sign in to comment.