Skip to content

Commit

Permalink
capitalise
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Feb 2, 2025
1 parent 904b30e commit 9781722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions narwhals/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ def is_null(self: Self) -> Self:
>>> import duckdb
>>> import narwhals as nw
>>> df_native = duckdb.sql(
... "SELECT * from values (null, CAST('NaN' AS DOUBLE)), (2, 2.) df(a, b)"
... "SELECT * FROM VALUES (null, CAST('NaN' AS DOUBLE)), (2, 2.) df(a, b)"
... )
>>> df = nw.from_native(df_native)
>>> df.with_columns(
Expand Down Expand Up @@ -1434,7 +1434,7 @@ def is_nan(self: Self) -> Self:
>>> import duckdb
>>> import narwhals as nw
>>> df_native = duckdb.sql(
... "SELECT * from values (null, CAST('NaN' AS DOUBLE)), (2, 2.) df(a, b)"
... "SELECT * FROM VALUES (null, CAST('NaN' AS DOUBLE)), (2, 2.) df(a, b)"
... )
>>> df = nw.from_native(df_native)
>>> df.with_columns(a_is_nan=nw.col("a").is_nan(), b_is_nan=nw.col("b").is_nan())
Expand Down

0 comments on commit 9781722

Please sign in to comment.