pyspark.sql.functions.
desc_nulls_last
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.