pyspark.sql.functions.ascii

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

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

New in version 1.5.