pub fn apply_encode( column: Column, charset: &str, ) -> PolarsResult<Option<Column>>
Encode string to binary (PySpark encode). Charset: UTF-8, hex. Returns hex string representation of bytes.