are "column names" unique in pandas dataframes code example Example: pd dataframe get column names lst = data.columns.values # data is dataframe