I have tried creating a SparkSession
on VS Code with Jupyter notebook using code:
spark = SparkSession.builder.master("local[5]").appName("Data analysis").getOrCreate()
but I kept on getting error:
FileNotFoundError: [WinError 2] The system cannot find the file specified
I was expecting it to open a SparkSession
so I could code. I have tried adding:
spark = SparkSession.builder\
.master("local")\
.appName("Word Count")\
.getOrCreate()
but it showed the same error.