I have the below data frame.
df3=pd.DataFrame(columns=["Devices","months"])
I am getting row value from a loop row, print(data)
Devices months
1 Powerbank Feb month
When I am adding this data row to my df3 I am getting an error.
df3.loc[len(df3)]=data
ValueError: cannot set a row with mismatched columns