polars.Series.is_float#

Series.is_float() bool[source]#

Check if this Series has floating point numbers.

Deprecated since version 0.19.13: Use Series.dtype.is_float() instead.

Examples

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