df.iterrows() returns a tuple with index and the row value. So, you will have handle both the index and the value. Try this:
import pandas as pd
df = pd.read_csv(“/home/user/data1”)
for index, row in df.iterrows():
Hope this helps!!
If you need to learn more about Python, It's recommended to join Python Training today.