create a dataframe with column names from list code example Example: pandas dataframe column names print(data.columns.values)