pyspark.sql.functions.
base64
Computes the BASE64 encoding of a binary column and returns it as a string column.
New in version 1.5.