polars.Series.is_float#

Series.is_float() bool[source]#

Check if this Series has floating point numbers.

Examples

>>> s = pl.Series("a", [1.0, 2.0, 3.0])
>>> s.is_float()
True