pyspark.sql.functions.abs

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

Computes the absolute value.

New in version 1.3.