pyspark.sql.functions.
to_str
A wrapper over str(), but converts bool values to lower case strings. If None is given, just returns None, instead of converting it to string “None”.