polars.Series.is_utf8

Series.is_utf8() bool

Checks if this Series datatype is a Utf8.

Examples

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