Spark Python API函式:pyspark API(1)
文章目錄
• 1 pyspark version
• 2 map
• 3 flatMap
• 4 mapPartitions
• 5 mapPartitionsWithIndex
• 6 getNumPartitions
• 7 filter
• 8 distinct
• 9 sample
• 10 takeSample
• 11 union
• 12 intersection
• 13 sortByKey
pyspark version
|
map
|
flatMap
2 , 3 ]
|
mapPartitions
|
mapPartitionsWithIndex
|
getNumPartitions
|
filter
|
distinct
|
sample
|
takeSample
|
union
|
intersection
|
sortByKey
|