Numeri/plots.py

19 lines
505 B
Python
Raw Normal View History

2021-09-15 20:08:03 +00:00
import pandas as pd
import numpy as np
2021-09-15 21:05:34 +00:00
GRADE_LIST = "Cijfers-HerrewijnenJonathan.csv"
2021-09-15 20:08:03 +00:00
class Cijferlijst:
def __init__(self, grade_list=GRADE_LIST):
self.grade_list = grade_list
2021-09-15 21:05:34 +00:00
self.ps = pd.read_csv(GRADE_LIST, skiprows=2, sep=';')
2021-09-15 20:08:03 +00:00
def iets(self):
2021-09-15 21:05:34 +00:00
print(self.grade_list)
def CalculateMedian(self, subject, year):
# Calculates average for all scores without weight!
Grades = self.ps['Cijfer(Voortgangsdossier)'].loc[:]
print("blub")