Please help. I have the following data frame with 5 columns. The first row throws an Index out of bounds error even though there are supposed to be 5 columns - if you include the area marked in red. Not quite sure how to iterate this?:
index 4 is out of bounds for axis 0 with size 4
Here is the code I am using:
for index, row in df.iterrows():
print(row.index[0],row.index[1],row.index[2],row.index[3],row.index[4])