I have a dataframe containing some age group and health status. When I dropped entries not containing "RECOVERED" in "HealthStatus", the output is a table containing only the entries with "RECOVERED." But when I try this with "MODERATE," the table is empty. I checked the unique values for the HealthStatus column and it shows on the list that there are entries with "MODERATE" HealthStatus. Please help me.
I tried copy-pasting the code that worked for recovered but it still returns an empty table. I also tried to copy-paste the "MODERATE" word in case there are special characters but it still does not work.