I am using Jupyter notebook and trying to run PySpark commands. I ran the below import commands which ran fine.
import findspark findspark.init() from pyspark