vendredi 5 juin 2020

# List comprehension to convert strings to floats

salaries = [int(''.join(s[1:].split(','))) for s in salaries]

invalid literal for int() with base 10: '911651Marvin Krislov Oberlin College (left in 2016): \xa0$829913Mark Roosevelt Antioch College (left in 2015): $507672Laurie Joyner Wittenberg University (left in 2015): $463504Richard Giese Universi




Aucun commentaire:

Enregistrer un commentaire