Answers for "display all columns name pandas"

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 "display all columns name pandas"

Python Answers by Framework

Browse Popular Code Answers by Language