import pandas as pd df=pd.read_excel('bb.xlsx') column = list(df.columns) for i in range(0, len(df)): print(df.iloc[i][column[0]],df.iloc[i][column[1]],df.iloc[i][column[2]])