refactoring

This commit is contained in:
frankknoll
2023-10-04 00:10:05 +02:00
parent bf520ad28b
commit 344942dd1a

View File

@@ -267,10 +267,10 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"df = (regionCountsByClickedBatchcodeTable\n", "regionCountsByClickedBatchcodeTable4Germany = (regionCountsByClickedBatchcodeTable\n",
" .loc[(slice(None), 'Germany', slice(None)), :]\n", " .loc[(slice(None), 'Germany', slice(None)), :]\n",
" .sort_values(by = ['REGION', 'REGION_COUNT_BY_VAX_LOT'], ascending = False))\n", " .sort_values(by = ['REGION', 'REGION_COUNT_BY_VAX_LOT'], ascending = False))\n",
"df" "regionCountsByClickedBatchcodeTable4Germany"
] ]
}, },
{ {
@@ -280,7 +280,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"df.to_excel('tmp/germany.xlsx')" "regionCountsByClickedBatchcodeTable4Germany.to_excel('tmp/regionCountsByClickedBatchcodeTable4Germany.xlsx')"
] ]
}, },
{ {