pyspark.sql.functions.asc

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

Returns a sort expression based on the ascending order of the given column name.

New in version 1.3.