Skip to content

Commit

Permalink
fixup! doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
reswqa committed Sep 23, 2023
1 parent f761eca commit becfd21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions py-polars/polars/series/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ def drop_nulls(self) -> Series:
Examples
--------
>>> s = pl.Series({"values": [[None, 1, None, 2], [None], [3, 4]]})
>>> s = pl.Series("values", [[None, 1, None, 2], [None], [3, 4]])
>>> s.list.drop_nulls()
shape: (3, )
Series: 's' [list[i64]]
shape: (3,)
Series: 'values' [list[i64]]
[
[1, 2]
[]
Expand Down

0 comments on commit becfd21

Please sign in to comment.