pyspark.sql.functions.base64

pyspark.sql.functions.base64(col)[source]

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

New in version 1.5.