formating
This commit is contained in:
@@ -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')
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user