pyspark.sql.functions.abs

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

Computes the absolute value.

New in version 1.3.