I am trying to read a csv file in pandas. The data is something as follows:
Date Value Valid
23/05/2018 12 Yes
24/05/2018 13 No
25/05/2018 45 No
26/05/2018 11 Yes
27/05/2018 66 Yes
28/05/2018 50 No
29/05/2018 34 Yes
30/05/2018 27 No
I want to read the lines only where the input value for Valid column is a Yes. What would be the best way to do so?
I would like to filter it before and not after reading.