PySpark Kernel

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

PySpark Kernel

This post has NOT been accepted by the mailing list yet.


I have pyspark kernel setup and was able to see and use the kernel in JupyterHub.

However, when I run the below code , I get the below error. Could anyone please let me know why I'm getting this error.

Below is the line I have in Jupyter Notebook File.


I'm getting the below error.

NameError: name 'sc' is not defined

Any help would be greatly useful.