Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 17915

How to get entries with specific values in jupyter notebook/ python?

$
0
0

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.

Screenshot


Viewing all articles
Browse latest Browse all 17915

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>