Pyspark kernel in Jupyter

30 views
Skip to first unread message

testb...@gmail.com

unread,
Apr 13, 2017, 12:48:58 PM4/13/17
to Project Jupyter
Hi,
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.

print(sc)

I'm getting the below error.

NameError: name 'sc' is not defined

Any help would be greatly useful.
Thanks!
Reply all
Reply to author
Forward
0 new messages