polars.Series.is_utf8#

Series.is_utf8() bool[source]#

Check if this Series datatype is a Utf8.

Deprecated since version 0.19.14: Use Series.dtype == pl.Utf8 instead.

Examples

>>> s = pl.Series("x", ["a", "b", "c"])
>>> s.is_utf8()  
True