diff --git a/src/HowBadIsMyBatch.ipynb b/src/HowBadIsMyBatch.ipynb index ed642473a4c..66d283dbab1 100644 --- a/src/HowBadIsMyBatch.ipynb +++ b/src/HowBadIsMyBatch.ipynb @@ -203,40 +203,6 @@ "countryCountsByBatchcode" ] }, - { - "cell_type": "code", - "execution_count": null, - "id": "0257505b", - "metadata": {}, - "outputs": [], - "source": [ - "regionCountsByClickedBatchcodeTable = RegionCountsByBatchcodeTablesMerger.getRegionCountsByClickedBatchcode('data/GoogleAnalytics')\n", - "regionCountsByClickedBatchcodeTable" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "c276eede", - "metadata": {}, - "outputs": [], - "source": [ - "df = (regionCountsByClickedBatchcodeTable\n", - " .loc[(slice(None), 'Germany', slice(None)), :]\n", - " .sort_values(by = ['REGION', 'REGION_COUNT_BY_VAX_LOT'], ascending = False))\n", - "df" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "64c57c23", - "metadata": {}, - "outputs": [], - "source": [ - "df.to_excel('tmp/germany.xlsx')" - ] - }, { "cell_type": "code", "execution_count": null, @@ -283,6 +249,40 @@ " '../docs/data/barChartDescriptionTable.json')\n" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "f2d4e5f9", + "metadata": {}, + "outputs": [], + "source": [ + "regionCountsByClickedBatchcodeTable = RegionCountsByBatchcodeTablesMerger.getRegionCountsByClickedBatchcode('data/GoogleAnalytics')\n", + "regionCountsByClickedBatchcodeTable" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "778564bb", + "metadata": {}, + "outputs": [], + "source": [ + "df = (regionCountsByClickedBatchcodeTable\n", + " .loc[(slice(None), 'Germany', slice(None)), :]\n", + " .sort_values(by = ['REGION', 'REGION_COUNT_BY_VAX_LOT'], ascending = False))\n", + "df" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "7c0efbfb", + "metadata": {}, + "outputs": [], + "source": [ + "df.to_excel('tmp/germany.xlsx')" + ] + }, { "attachments": {}, "cell_type": "markdown",