returns all column names as a list

Solutions on MaxInterview for returns all column names as a list by the best coders in the world

showing results for - "returns all column names as a list"
Manuel
03 Jan 2021
1# Returns all column names as a list
2
3df.columns
4#['age', 'name']