restoreVAERSBeforeDeletionFolder()
This commit is contained in:
@@ -30,7 +30,23 @@
|
||||
"import pandas as pd\n",
|
||||
"\n",
|
||||
"pd.set_option('display.max_rows', 100)\n",
|
||||
"pd.set_option('display.max_columns', None)\n"
|
||||
"pd.set_option('display.max_columns', None)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "3b89b2d6",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# split --bytes=45MiB VAERSBeforeDeletion.7z VAERSBeforeDeletion_\n",
|
||||
"def restoreVAERSBeforeDeletionFolder():\n",
|
||||
" !cat data/VAERSBeforeDeletion/VAERSBeforeDeletion_* > VAERS/VAERSBeforeDeletion.7z\n",
|
||||
" !cd VAERS; 7z x -y VAERSBeforeDeletion.7z\n",
|
||||
"\n",
|
||||
"vaersBeforeDeletionDataDir = 'VAERS/VAERSBeforeDeletion'\n",
|
||||
"restoreVAERSBeforeDeletionFolder()"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -127,7 +143,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"internationalVaersCovid19 = CountryColumnsMerger.mergeCountryColumnOfSrcIntoDst(\n",
|
||||
" src = getInternationalVaersCovid19BeforeDeletion(),\n",
|
||||
" src = getInternationalVaersCovid19BeforeDeletion(vaersBeforeDeletionDataDir),\n",
|
||||
" dst = internationalVaersCovid19)\n",
|
||||
"internationalVaersCovid19"
|
||||
]
|
||||
@@ -203,7 +219,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"countryCountsByBatchcode = filterByBatchcodes(getCountryCountsByBatchcodeTable(), batchCodeTable['Batch'].values)\n",
|
||||
"countryCountsByBatchcode = filterByBatchcodes(getCountryCountsByBatchcodeTable(vaersBeforeDeletionDataDir), batchCodeTable['Batch'].values)\n",
|
||||
"countryCountsByBatchcode"
|
||||
]
|
||||
},
|
||||
@@ -670,9 +686,9 @@
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "howbadismybatch-venv-kernel",
|
||||
"display_name": "howbadismybatch-venv",
|
||||
"language": "python",
|
||||
"name": "howbadismybatch-venv-kernel"
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
@@ -684,7 +700,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.15"
|
||||
"version": "3.9.19"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user