Find the a column number of a dataframe by the name of the column,
which(colnames(df)=="name_of_column")