adding control column

This commit is contained in:
frankknoll
2023-01-25 11:13:50 +01:00
parent b9c7b2789d
commit 7ef46c8ee3
26 changed files with 99 additions and 305 deletions

View File

@@ -24,6 +24,19 @@ def _createAndSaveBatchCodeTableForCountry(createBatchCodeTableForCountry, count
batchCodeTable['Adverse Reaction Reports'] < minADRsForLethality,
['Severe reports', 'Lethality']
] = [np.nan, np.nan]
batchCodeTable = batchCodeTable.reset_index();
batchCodeTable = batchCodeTable[
[
'Batch',
'Adverse Reaction Reports',
'Deaths',
'Disabilities',
'Life Threatening Illnesses',
'Company',
'Countries',
'Severe reports',
'Lethality'
]]
IOUtils.saveDataFrame(
batchCodeTable,
'../docs/data/batchCodeTables/' + country)