📅  最后修改于: 2022-03-11 14:46:59.452000             🧑  作者: Mango
from pyspark.sql import SparkSession
spark = SparkSession \
.builder \
.appName("Python Spark K-means example") \
.config("spark.some.config.option", "some-value") \
.getOrCreate()