pyspark.sql.functions.base64

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

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

New in version 1.5.