I have two .CSV files:
One is a dataset with over 1500 features and 300 samples,
the second is an RFECV ranking of features:

I'm trying to remove each column of a feature from the dataset, that does not have a ranking of 1.
So we only should have something like this:
What would be the proper way of doing something like that in Python?
I was thinking of transposing the second array, finding the indexes with ones and moving columns with these indexes from the dataset to an another array.
