Holen Sie sich die Spaltennummer in 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()