Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
df_4=pd.DataFrame()
for i in range(100):
if df_33[i]!=df_new[i]:
print("not matching")
else:
dff=pd.concat([df_33,df_new])
print(dff)
keyError:0

What I have tried:

i was getting this error keyError:0
Posted
Comments
Richard MacCutchan 11-Aug-22 3:47am    
Please show the complete output when the error occurs; we cannot guess what is causing it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900