Jupiter Pysaprk setup Issue

Hi I have tried using the below link to setup the Jupiter but its seems when i am trying to run any dataframe command it given the below error . Can you please look into this?

NameError Traceback (most recent call last)
in ()
----> 1 df = spark.read.load("/user/test.txt",format=“csv”, sep=";", inferSchema=“true”, header=“true”)

NameError: name ‘spark’ is not defined