pyspark.sql.functions.desc_nulls_first

pyspark.sql.functions.desc_nulls_first(col: ColumnOrName) → pyspark.sql.column.Column

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