赞
踩
from pyspark.sql import SparkSession
spark = SparkSession.builder \
.appName("Word Count") \
.getOrCreate()
from pyspark.sql import SparkSession
spark = SparkSession.builder \
.appName("Word Count") \
.getOrCreate()
sc = spark.sparkContext
data = sc.parallelize([('a',1),('b',
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。