formating

This commit is contained in:
frankknoll
2023-01-24 14:42:25 +01:00
parent 6f4735eeeb
commit 9bc06e368a

View File

@@ -2,7 +2,9 @@ class SymptomHistogramByBatchcodeTableFactory:
@staticmethod
def createSymptomHistogramByBatchcodeTable(symptomByBatchcodeTable):
return (symptomByBatchcodeTable
return (
symptomByBatchcodeTable
.groupby(symptomByBatchcodeTable.index.names)
['SYMPTOM'].value_counts()
.to_frame(name = 'SYMPTOM_COUNT_BY_VAX_LOT'))
.to_frame(name = 'SYMPTOM_COUNT_BY_VAX_LOT')
)