# pyspark.sql.functions.desc_nulls_first¶

pyspark.sql.functions.desc_nulls_first(col)[source]

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.