pyspark.sql.functions.
desc_nulls_first
Returns a sort expression based on the descending order of the given column name, and null values appear before non-null values.
New in version 2.4.
previous
pyspark.sql.functions.desc
next
pyspark.sql.functions.desc_nulls_last