title: How to read the spark_df as dataframe in synapse analytics (Microsoft azure)?
body: <p>How to read the spark_df as data frame in synapse analytics (Microsoft azure) so that i can use the necessary codes of pandas in the notebook?</p>
  <pre><code>spark_df = spark.createDataFrame(filtered_df)
  spark_df.write.mode(&quot;overwrite&quot;).saveAsTable(&quot;default.NYC_Taxi&quot;)
  </code></pre>
  <p>Now i want to read the table as dataframe. I tried the below code:</p>
  <pre><code>new_df = NYC_Taxi.to_pandas_dataframe()
  </code></pre>
  <p>Error:</p>
  <pre><code>NameError : name 'nyc_taxi' is not defined
  Traceback (most recent call last):
  NameError: name 'nyc_taxi' is not defined
  </code></pre>