pyspark.sql.functions.desc_nulls_last

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

Returns a sort expression based on the descending order of the given column name, and null values appear after non-null values.

New in version 2.4.