pub fn apply_to_binary( column: Column, fmt: &str, ) -> PolarsResult<Option<Column>>
to_binary(expr, fmt): PySpark to_binary. fmt ‘utf-8’ => hex(utf8 bytes), ‘hex’ => validate and return hex. Returns hex string.