refactoring
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1357,40 +1357,6 @@
|
|||||||
"vaers2019"
|
"vaers2019"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"cell_type": "markdown",
|
|
||||||
"id": "987a04d1",
|
|
||||||
"metadata": {},
|
|
||||||
"source": [
|
|
||||||
"### Batch codes"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cell_type": "code",
|
|
||||||
"execution_count": null,
|
|
||||||
"id": "7edf87d7",
|
|
||||||
"metadata": {},
|
|
||||||
"outputs": [],
|
|
||||||
"source": [
|
|
||||||
"def saveBatchCodeTable(vaers, file):\n",
|
|
||||||
" # FK-TODO: show \"Severe Reports\"\n",
|
|
||||||
" batchCodeTable = BatchCodeTableFactory.createBatchCodeTable(vaers, minADRsForLethality = 100)\n",
|
|
||||||
" batchCodeTable.index.set_names(\"Batch\", inplace = True)\n",
|
|
||||||
" display(batchCodeTable)\n",
|
|
||||||
" IOUtils.saveDataFrame(batchCodeTable, file)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cell_type": "code",
|
|
||||||
"execution_count": null,
|
|
||||||
"id": "ab170c16",
|
|
||||||
"metadata": {},
|
|
||||||
"outputs": [],
|
|
||||||
"source": [
|
|
||||||
"# https://www.howbadismybatch.com/moderna.html\n",
|
|
||||||
"saveBatchCodeTable(internationalVaers, \"../docs/data/batchCodeTable\")"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"id": "f677b620",
|
"id": "f677b620",
|
||||||
|
|||||||
Reference in New Issue
Block a user