pyspark.sql.functions.
stddev_samp
Aggregate function: returns the unbiased sample standard deviation of the expression in a group.
New in version 1.6.