pyspark.sql.functions.
var_samp
Aggregate function: returns the unbiased sample variance of the values in a group.
New in version 1.6.