In my dataset, I have a column like this: 0 [{'voter': 'gerber', 'rshares': '81935730'}, {'voter': 'ezzy', 'rshares': '26337378368'}] 1 [{'voter': 'duckmast3r', 'rshares': '34050061712'}] 2 [{'voter': 'nascimentoab', 'rshares': '73717037'}] . . . I have a another csv file with a column of names (users.csv) and I need to check if the voters 'names in each row of my dataset are in list of names in users.csv or not. If yes, then it should return the aggregate rshare for voters who are in the list if so return false. Can anyone help me with this?
Aucun commentaire:
Enregistrer un commentaire