Site Navigation
Section Navigation
Return aStatCounter object that captures the mean, varianceand count of the RDD’s elements in one operation.
StatCounter
New in version 0.9.1.
aStatCounter capturing the mean, variance and count of all elements
See also
RDD.stdev()
RDD.sampleStdev()
RDD.variance()
RDD.sampleVariance()
RDD.histogram()
pyspark.sql.DataFrame.stat()