Skip to content

Commit

Permalink
update drop_nulls docstring (#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamConnors authored Sep 9, 2024
1 parent 7bfb776 commit e7b3b83
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions narwhals/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,12 +783,9 @@ def drop_nulls(self) -> Self:
"""
Drop all null values.
See Also:
drop_nans
Notes:
A null value is not the same as a NaN value.
To drop NaN values, use :func:`drop_nans`.
pandas and Polars handle null values differently. Polars distinguishes
between NaN and Null, whereas pandas doesn't.
Examples:
>>> import pandas as pd
Expand Down

0 comments on commit e7b3b83

Please sign in to comment.