print header dataframe python code example Example: how to find columns of a dataframe list(my_dataframe.columns.values)