Obtenez le numéro de colonne dans DataFrame Pandas
# PANDAS: get column number from colomn name
dataframe.columns.get_loc("<col_name>")
Gifted Gannet
# PANDAS: get column number from colomn name
dataframe.columns.get_loc("<col_name>")
dfName.select_dtypes(exclude=['object']).columns.tolist()