Consider a .csv file with the following format:
John,29,21,,DF,
Sara,23,51,,DF,
John,34,27,,ER,
John,76,29,,TY,
Sara,87,93,,SAD,
I need to retrieve the value in the second column for all the rows which have 'John' written in the first column. I want to do it using a python script. I'm very new to python so I'm asking how can this be done?