refactoring

This commit is contained in:
frankknoll
2023-06-11 12:52:39 +02:00
parent ad9306c474
commit 77a11b15d0
4 changed files with 13 additions and 13 deletions

View File

@@ -8,8 +8,8 @@ class CountryCountsByBatchcodeTable2BarChartDescriptionTableConverter:
columns =
{
'COUNTRY': 'countries',
'COUNTRY_COUNT_BY_VAX_LOT Clicked': 'frequencies guessed',
'COUNTRY_COUNT_BY_VAX_LOT Before Deletion': 'frequencies before deletion'
'COUNTRY_COUNT_BY_VAX_LOT Clicked': 'Adverse Reaction Reports guessed',
'COUNTRY_COUNT_BY_VAX_LOT Before Deletion': 'Adverse Reaction Reports known'
})
.groupby('VAX_LOT')
.apply(lambda countryCountsTable: countryCountsTable.to_dict('list'))