Answers for "pandas get header name of column"

7

pd dataframe get column names

lst = data.columns.values     # data is dataframe
Posted by: Guest on April-27-2020
1

how to find columns of a dataframe

list(my_dataframe.columns.values)
Posted by: Guest on June-23-2020

Code answers related to "pandas get header name of column"

Python Answers by Framework

Browse Popular Code Answers by Language