Getting Started
User Guide
API Reference
Development
Migration Guide
Spark SQL
Core Classes
Spark Session
Configuration
Input/Output
DataFrame
Column
Data Types
Row
Functions
Window
Grouping
Catalog
Observation
Avro
Pandas API on Spark
Structured Streaming
MLlib (DataFrame-based)
Spark Streaming
MLlib (RDD-based)
Spark Core
Resource Management
pyspark.sql.functions.variance
¶
pyspark.sql.functions.
variance
(
col
:
ColumnOrName
)
→ pyspark.sql.column.Column
[source]
¶
Aggregate function: alias for var_samp
New in version 1.6.
pyspark.sql.functions.var_samp
pyspark.sql.functions.cume_dist