Good afternoon, i am trying to do an exact text search for a dataframe column. As an example i was to find every record that is Blue, by my current code listed below returns values such as Blue Bird, Bluey, etc etc
here is my table:
UserId Application
1 Blue
2 Bluey
2 Blue Bird
below are 2 seperate lines of code i have tried to achieve the same purpose
dfsearch = df[df['Application'].str.match('Blue', na=False)]
dfsearch = df[df['Application'] == 'Blue']
but instead it is returning the all instances of Blue instead of just Blue... Please help!
output i desire:
UserId Application
1 Blue