pyspark.sql.functions.abs

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

Computes the absolute value.