Python with Apache Spark using Jupyter notebook
Python with Apache Spark using Jupyter notebook
Now letβs run the Python version of pi program. Start Anaconda Navigator, select Virtual Environment spark
Click Jupyter Notebook
In the Jupyter Notebook, need to import findspark and run findspark.init(), which will find where the SPARK_HOME points to.
Following is the Python script that runs pi.py, you can simply run:
python pi.py
Last updated