0 points

Create a basic pyspark session


dashboard

Fri Sep 04 2020 05:19:26 GMT+0000 (UTC)

Posted by @nestoragc@hotmail.com #python #pyspark #spark #spark-session

from pyspark.sql import SparkSession
spark = SparkSession.builder.appName('abc').getOrCreate()
content_copy Copy

https://stackoverflow.com/questions/39780792/how-to-build-a-sparksession-in-spark-2-0-using-pyspark