Created
January 13, 2021 17:49
-
-
Save bh1995/b27eb20a47c93f76e6781e21b8c63cc9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create the Spark session | |
conf = SparkConf().set("spark.ui.port", "4050") | |
sc = pyspark.SparkContext(conf=conf) | |
spark = SparkSession.builder.getOrCreate() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment