Skip to content

Commit

Permalink
docs(python): Minor tweak in code example in section Expressions/Miss…
Browse files Browse the repository at this point in the history
…ing data (#12080)
  • Loading branch information
jrycw authored Oct 29, 2023
1 parent eec4867 commit 11f94ea
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/src/python/user-guide/expressions/null.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,8 @@


# --8<-- [start:fill]
fill_literal_df = (
df.with_columns(
pl.col("col2").fill_null(
pl.lit(2),
),
),
fill_literal_df = df.with_columns(
pl.col("col2").fill_null(pl.lit(2)),
)
print(fill_literal_df)
# --8<-- [end:fill]
Expand Down

0 comments on commit 11f94ea

Please sign in to comment.