I try to implement simple logic to required rows from original data. I am ending up with an empty csv file. I don\'t know what\'s wrong with my code.
Sample dataset i