pandas get columns dataframe code example
Example 1: how to find columns of a dataframe
list(my_dataframe.columns.values)
Example 2: get column pandas
column = df["column_name"]
list(my_dataframe.columns.values)
column = df["column_name"]