79706634

Date: 2025-07-18 19:23:23
Score: 1.5
Natty:
Report link

this error because of NaN presents in your Dataframe. I got resolved this by following

df=df.fillna('')


df1 = spark.createDataFrame(df)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anjali Dharmik