I have a .csv
file that contains this type of data:
Nombre Curso Nota
Miguel Primero 8
Juan Primer 2
Pedro Segundo 6
Luisa Primero 6
Teresa Primero 3
Pepe Segundo 5
Ana Segundo 6
Natalia Segundo 4
Maria Primero 3
How do I get, for example, the average of the grade of the first grade? And to get the total number of the second grade?
To get the amount I have tried something like that but it gives me an error, and for the average I think that if the total amount can be divided with its summation.
print len(archivo.Curso=='Segundo')
Greetings and thanks