pyspark.sql.functions.to_str

pyspark.sql.functions.to_str(value)[source]

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”.