Getting Started
User Guide
API Reference
Development
Migration Guide
Spark SQL
Structured Streaming
MLlib (DataFrame-based)
Spark Streaming
MLlib (RDD-based)
Spark Core
Resource Management
pyspark.sql.functions.signum
¶
pyspark.sql.functions.
signum
(
col
)
[source]
¶
Computes the signum of the given value.
New in version 1.4.
pyspark.sql.functions.shuffle
pyspark.sql.functions.sin