removing unused Symptoms column

This commit is contained in:
frankknoll
2023-01-28 17:30:53 +01:00
parent bdc6d087a0
commit e9e49154bd
115 changed files with 115 additions and 586692 deletions

View File

@@ -22,8 +22,6 @@ class BatchCodeTableFactory:
def _postProcess(self, batchCodeTable):
batchCodeTable = self.companyColumnAdder.addCompanyColumn(batchCodeTable)
# FK-TODO: remove Symptoms column everywhere
batchCodeTable['Symptoms'] = '{"Circulatory collapse":1,"Hyperhidrosis":1}'
batchCodeTable = batchCodeTable[
[
'Adverse Reaction Reports',
@@ -33,8 +31,7 @@ class BatchCodeTableFactory:
'Company',
'Countries',
'Severe reports',
'Lethality',
'Symptoms'
'Lethality'
]]
return batchCodeTable.sort_values(by = 'Severe reports', ascending = False)

View File

@@ -35,13 +35,13 @@ def _createAndSaveBatchCodeTableForCountry(createBatchCodeTableForCountry, count
'Company',
'Countries',
'Severe reports',
'Lethality',
'Symptoms'
'Lethality'
]]
IOUtils.saveDataFrame(
batchCodeTable,
'../docs/data/batchCodeTables/' + country)
# display(country + ":", batchCodeTable)
# FK-TODO: display in einem noch nicht vorhandenen Callback aufrufen
display(country)

View File

@@ -223,7 +223,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]"
"version": "3.10.8"
},
"vscode": {
"interpreter": {