pyspark.sql.functions.desc

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

Returns a sort expression based on the descending order of the given column name.

New in version 1.3.