polars.Series.str.decode#

Series.str.decode(encoding: TransferEncoding, *, strict: bool = True) Series[source]#

Decode a value using the provided encoding.

Parameters:
encoding{‘hex’, ‘base64’}

The encoding to use.

strict

Raise an error if the underlying value cannot be decoded, otherwise mask out with a null value.