How to get a list from Python Pandas DataFrame column headers? To get a list from Python Pandas DataFrame column headers, we call list on the data frame. For instance, we write list(my_dataframe) where my_dataframe is a data frame to return a list.