removing Lethality column from html page

This commit is contained in:
frankknoll
2022-02-15 09:55:22 +01:00
parent d574c1a6b7
commit 7aba936f16
3 changed files with 24 additions and 21 deletions

View File

@@ -982,20 +982,6 @@
" return pd.concat([getAllVaers(), getNonDomesticVaers()])"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e15bdcc0",
"metadata": {},
"outputs": [],
"source": [
"def saveBatchCodeTable(vaers, file):\n",
" batchCodeTable = BatchCodeTableFactory.createBatchCodeTable(vaers, dose = '1')\n",
" batchCodeTable.index.set_names(\"Batch\", inplace = True)\n",
" display(batchCodeTable)\n",
" IOUtils.saveDataFrame(batchCodeTable, file)"
]
},
{
"cell_type": "code",
"execution_count": null,
@@ -1034,6 +1020,28 @@
"### Batch codes"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "7edf87d7",
"metadata": {},
"outputs": [],
"source": [
"def saveBatchCodeTable(vaers, file):\n",
" batchCodeTable = BatchCodeTableFactory.createBatchCodeTable(vaers, dose = '1')\n",
" batchCodeTable = batchCodeTable[\n",
" [\n",
" 'Total Number of Adverse Reaction Reports',\n",
" 'Deaths',\n",
" 'Disabilities',\n",
" 'Life Threatening Illnesses',\n",
" 'Company'\n",
" ]]\n",
" batchCodeTable.index.set_names(\"Batch\", inplace = True)\n",
" display(batchCodeTable)\n",
" IOUtils.saveDataFrame(batchCodeTable, file)"
]
},
{
"cell_type": "code",
"execution_count": null,