polars.Series.is_empty#

Series.is_empty() bool[source]#

Check if the Series is empty.

Examples

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