Select the inverse index in pd.Dataframe
Assuming my_index are the row indices you want to ignore, you could drop these where they exist in the dataframe df:
df = df.drop(my_index, errors='ignore')
How to select the inverse index in pd.DataFrame by using loc or iloc?
I tried df.loc[!my_index,my_feature] but fail. 
And df.loc[[ind for ind in df.index.tolist() if ind not in my_index],my_feature] looks too dull. Any better idea?