When I try to convert a pandas dataframe to a pyspark one like this
df = spark.createDataFrame(pd.DataFrame({\'a\': [1,2], \'b\': [4,5]}))
I