pyspark.sql.functions.desc

pyspark.sql.functions.desc(col: ColumnOrName) → pyspark.sql.column.Column[source]

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

New in version 1.3.