polars.Expr.bin.encode#

Expr.bin.encode(encoding: TransferEncoding) Expr[source]#

Encode a value using the provided encoding.

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

The encoding to use.

Returns:
Binary array with values encoded using provided encoding