I am using pandas to read csv on my machine then I create a pyspark dataframe from pandas dataframe.
df = spark.createDataFrame(pandas_df)
I updated my pandas from version 1.3.0
to 2.0
Now, I am getting this error:
AttributeError: 'DataFrame' object has no attribute 'iteritems'