pyspark.sql.functions.asc_nulls_first

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

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

New in version 2.4.