Spark Python API函式:pyspark API(3)
文章目錄
• 1 histogram
• 2 mean
• 3 variance
• 4 stdev
• 5 sampleStdev
• 6 sampleVariance
• 7 countByValue
• 8 top
• 9 takeOrdered
• 10 take
• 11 first
• 12 collectAsMap
• 13 keys
• 14 values
• 15 reduceByKey
• 16 reduceByKeyLocally
histogram
|
mean
|
variance
# divides by N
|
stdev
|
sampleStdev
|
sampleVariance
|
countByValue
|
top
|
takeOrdered
|
take
|
first
|
collectAsMap
|
keys
|
values
|
reduceByKey
|
reduceByKeyLocally
|