pyspark.sql.functions.base64

pyspark.sql.functions.base64(col: ColumnOrName) → pyspark.sql.column.Column

Computes the BASE64 encoding of a binary column and returns it as a string column.