SparkSession instantiate

Python

 1|  
 2|  spark = SparkSession \
 3|      .builder \
 4|      .appName("Wrangling Data") \
 5|      .getOrCreate()
Did you find this snippet useful?

Sign up for free to to add this to your code library