Comparing dataframe object with string value in django
I don't see anything glaringly wrong with your code, but you can try this instead:

df['classification'].value_counts()['RS']


If you omit the indexing at the end there, the call to value_counts() will concretely show you what values appear with what frequency in the classification column, which might help you debug what's going on if this still doesn't work.