Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
Returns all column names as a list
Jazztea
Programming language:
Python
2021-04-23 21:22:15
0
Q:
Returns all column names as a list
Kajal Rangwani
Code:
Python
2021-06-17 12:02:16
# Returns all column names as a list df.columns #['age', 'name']
0
Tags
name
list
Related
python return column names of pandas dataframe
finding the rows in a dataframe where column contains any of these values python
how to get column names in pandas
pandas print column names
column contains substring python
python search for word is in column
python head function show all columns
python pandas return column name of a specific column
pandas display all text in column
how to find mean of one column based on another column in python
New to Communities?
Join the community