Answers for "i have a dataframe with a column which has numbers in it, i want to acces them"

3

get column number in dataframe pandas

# PANDAS: get column number from colomn name
dataframe.columns.get_loc("<col_name>")
Posted by: Guest on February-22-2020

Code answers related to "i have a dataframe with a column which has numbers in it, i want to acces them"

Python Answers by Framework

Browse Popular Code Answers by Language