Получите номер столбца в пандах DataFrame
# 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()