removing unused Symptoms column
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user