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 @staticmethod
def createSymptomHistogramByBatchcodeTable(symptomByBatchcodeTable): def createSymptomHistogramByBatchcodeTable(symptomByBatchcodeTable):
return (symptomByBatchcodeTable return (
.groupby(symptomByBatchcodeTable.index.names) symptomByBatchcodeTable
['SYMPTOM'].value_counts() .groupby(symptomByBatchcodeTable.index.names)
.to_frame(name = 'SYMPTOM_COUNT_BY_VAX_LOT')) ['SYMPTOM'].value_counts()
.to_frame(name = 'SYMPTOM_COUNT_BY_VAX_LOT')
)