I have looked through various sites and SO posts.Seems easy but somehow i am stuck with this.I am using
print frame.loc[(frame['RR'].str.contains("^[^123]", na=False)), 'RR'].isin(series1.str.slice(1))
to get
3 True
4 False
8 False
Name: RR, dtype: bool
Now,somehow i want the indexes only so that i can use that in dataframe.drop. Basically all the indexes where value is True , i have to grab indexes and drop them.Is there any other way as well without using indexes?