polars.Expr.bin.decode#

Expr.bin.decode(encoding: TransferEncoding, *, strict: bool = True) Expr[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.