Answers for "how to get column names of a dataframe in pandas"

7

pd dataframe get column names

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

Code answers related to "how to get column names of a dataframe in pandas"

Python Answers by Framework

Browse Popular Code Answers by Language