As Frayal mentioned in comments, data=df.to_dict('records')
did the trick, so that the dictionnary is in the good structure.
CLICK HERE to find out more related problems solutions.
As Frayal mentioned in comments, data=df.to_dict('records')
did the trick, so that the dictionnary is in the good structure.
CLICK HERE to find out more related problems solutions.