polars.Series.is_empty#

Series.is_empty() bool#

Check if the Series is empty.

Examples

>>> s = pl.Series("a", [], dtype=pl.Float32)
>>> s.is_empty()
True