pyspark.sql.functions.ascii

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

Computes the numeric value of the first character of the string column.

New in version 1.5.