Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

SparkSession pyspark

from pyspark.sql import SparkSession

spark = SparkSession 
    .builder 
    .appName("Python Spark K-means example") 
    .config("spark.some.config.option", "some-value") 
    .getOrCreate()
Source by runawayhorse001.github.io #
 
PREVIOUS NEXT
Tagged: #SparkSession #pyspark
ADD COMMENT
Topic
Name
2+9 =