Answers for "how to import spark session"

0

To create a SparkSession

# To create a SparkSession

spark = SparkSession.builder.master(
  "local").appName("Word Count").config(
  "spark.some.config.option", "some-value").getOrCreate()
Posted by: Guest on April-10-2020

Python Answers by Framework

Browse Popular Code Answers by Language