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