IBM / elasticsearch-spark-recommender

Use Jupyter Notebooks to demonstrate how to build a Recommender with Apache Spark & Elasticsearch
https://developer.ibm.com/code/patterns/build-a-recommender-with-apache-spark-and-elasticsearch/
Apache License 2.0
841 stars 266 forks source link

NameError: name 'spark' is not defined #43

Closed Gauravs41 closed 5 years ago

Gauravs41 commented 6 years ago

first import a few utility methods that we'll use later on

from IPython.display import Image, HTML, display

check PySpark is running

spark


NameError Traceback (most recent call last)

in () 2 from IPython.display import Image, HTML, display 3 # check PySpark is running ----> 4 spark NameError: name 'spark' is not defined I running this file in Anaconda Jupyter. How can i solve this?
loafyloaf commented 5 years ago

duplicate of #34