python dataframe list of column names code example Example: pandas dataframe column names print(data.columns.values)