# PANDAS: get column number from colomn name dataframe.columns.get_loc("<col_name>")
df.shape[1]