# Import pandas package import pandas as pd df = pd.read_csv("a.csv") # iterating the columns for col in df.columns: print(col)