how to get data frames column titles code example
Example: get column number in dataframe pandas
# PANDAS: get column number from colomn name
dataframe.columns.get_loc("<col_name>")
# PANDAS: get column number from colomn name
dataframe.columns.get_loc("<col_name>")