pub fn to_binary(column: &Column, fmt: &str) -> Column
Convert to binary (PySpark to_binary). fmt: ‘utf-8’, ‘hex’.