Answers for "how to start a spark session"

1

making spark session

from pyspark.sql import SparkSession

spark = SparkSession 
    .builder 
    .appName("Python Spark SQL basic example") 
    .config("spark.some.config.option", "some-value") 
    .getOrCreate()
Posted by: Guest on November-27-2020

Python Answers by Framework

Browse Popular Code Answers by Language