refactoring

This commit is contained in:
frankknoll
2023-01-28 10:44:06 +01:00
parent 9be119eee3
commit 864e1c0bc0

View File

@@ -97,17 +97,6 @@
"international_VAERSSYMPTOMS" "international_VAERSSYMPTOMS"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"id": "99137f64",
"metadata": {},
"outputs": [],
"source": [
"batchcodes = international_VAERSVAX_Covid19['VAX_LOT'].dropna().drop_duplicates().to_list()\n",
"batchcodes"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
@@ -133,19 +122,6 @@
"symptomByBatchcodeTable" "symptomByBatchcodeTable"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"id": "d3b45ee3",
"metadata": {},
"outputs": [],
"source": [
"# import cProfile\n",
"# from SymptomByBatchcodeTableFactory import SymptomByBatchcodeTableFactory\n",
"# cProfile.run('SymptomByBatchcodeTableFactory.createSymptomByBatchcodeTable(international_VAERSVAX_Covid19, international_VAERSSYMPTOMS)')\n",
"# # symptomByBatchcodeTable"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
@@ -172,6 +148,17 @@
"dictByBatchcodeTable" "dictByBatchcodeTable"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"id": "5e2a0a30",
"metadata": {},
"outputs": [],
"source": [
"batchcodes = international_VAERSVAX_Covid19['VAX_LOT'].dropna().drop_duplicates().to_list()\n",
"batchcodes"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
@@ -188,17 +175,6 @@
" progress = lambda count, size, batchcode: print(f'{count}/{size}: {batchcode}'))" " progress = lambda count, size, batchcode: print(f'{count}/{size}: {batchcode}'))"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"id": "6b2fc717",
"metadata": {},
"outputs": [],
"source": [
"# symptomHistogramByBatchcodeTable.loc[('!D0181', 'nan', 'nan', 'nan', 'nan', 'nan', 'nan', 'nan', 'nan', 'nan')].plot(kind='bar')\n",
"# symptomByBatchcodeTable.iloc[:1000].to_excel('tmp/symptomByBatchcodeTable.xlsx')"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,