pyspark.sql.functions.asc

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

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

New in version 1.3.