starting Symptoms caused by COVID Lots
This commit is contained in:
@@ -539,6 +539,104 @@
|
||||
" vaccines = list(prrByVaccineAndSymptom.index),\n",
|
||||
" htmlFile = \"../docs/SymptomsCausedByVaccines/index.html\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# Symptoms caused by COVID Lots"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"prrByLotAndSymptom = pd.read_excel(\n",
|
||||
" io = 'data/symcolumns500.xlsx',\n",
|
||||
" index_col = 'VAX_LOT')\n",
|
||||
"prrByLotAndSymptom\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"prrByLotBySymptom = PrrSeriesFactory.getPrrByVaccineBySymptom(prrByLotAndSymptom)\n",
|
||||
"prrByLotBySymptom"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"prrBySymptomByLot = PrrSeriesFactory.getPrrBySymptomByVaccine(prrByLotAndSymptom)\n",
|
||||
"prrBySymptomByLot"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"prrByLotBySymptomWithoutZeroPrrs = PrrSeriesTransformer.filterByNonZeroPrrs(prrByLotBySymptom)\n",
|
||||
"prrByLotBySymptomWithoutZeroPrrs"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"prrBySymptomByLotWithHighPrrs = PrrSeriesTransformer.filterByHighPrrs(prrBySymptomByLot)\n",
|
||||
"prrBySymptomByLotWithHighPrrs"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"saveProportionalReportingRatios(\n",
|
||||
" prrByLotBySymptomWithoutZeroPrrs,\n",
|
||||
" directory = os.path.normpath(os.getcwd() + '/../docs/data/SymptomsCausedByCOVIDLots/ProportionalReportingRatios/symptoms'))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"saveProportionalReportingRatios(\n",
|
||||
" prrBySymptomByLotWithHighPrrs,\n",
|
||||
" directory = os.path.normpath(os.getcwd() + '/../docs/data/SymptomsCausedByCOVIDLots/ProportionalReportingRatios/vaccines'))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"updateHtmlFile(\n",
|
||||
" symptoms = list(prrByLotAndSymptom.columns),\n",
|
||||
" vaccines = list(prrByLotAndSymptom.index),\n",
|
||||
" htmlFile = \"../docs/SymptomsCausedByCOVIDLots/index.html\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
||||
Reference in New Issue
Block a user