I have the following dataframe:
index text is_retweet
0 Test False
1 RT bar False
2 RT bazz False
3 Test2 False
I want to delete the rows that begin with "RT"
I tried this:
my_df.drop(my_df.index[my_df['text'].find("RT") == 0], inplace = True)
But I get this error:
AttributeError: 'Series' object has no attribute 'find'