Files
HowBadIsMyBatch/src/SymptomsCausedByVaccines/Analyzer.py
2023-10-09 11:36:03 +02:00

13 lines
333 B
Python

import pandas as pd
class Analyzer:
def __init__(self, symptomByVaccine: pd.DataFrame):
self.symptomByVaccine = symptomByVaccine
def getSymptomsForVaccine(self, vaxType):
return self.symptomByVaccine.loc[vaxType]
def getVaccinesForSymptom(self, symptom):
return self.symptomByVaccine[symptom]