Skip to content

Commit

Permalink
Implement population trajectories/infocards, polish
Browse files Browse the repository at this point in the history
  • Loading branch information
bainmatt committed Dec 10, 2024
1 parent 1aa80cd commit 0eebee4
Show file tree
Hide file tree
Showing 2 changed files with 551 additions and 135 deletions.
36 changes: 18 additions & 18 deletions notebooks/report.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,16 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"[...]"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Imports"
"## Showcase"
]
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#| include: false\n",
"#| echo: false\n",
"\n",
"import sys\n",
Expand All @@ -68,6 +62,7 @@
"metadata": {},
"outputs": [],
"source": [
"#| include: false\n",
"#| code-fold: true\n",
"\n",
"import pandas as pd\n",
Expand All @@ -94,19 +89,13 @@
"# pio.renderers.default = \"plotly_mimetype+notebook_connected\""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## The dataset"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#| include: false\n",
"#| output: false\n",
"#| warning: false\n",
"#| code-fold: true\n",
Expand All @@ -124,6 +113,7 @@
"metadata": {},
"outputs": [],
"source": [
"#| include: false\n",
"#| code-fold: true\n",
"#| code-summary: Display a subset\n",
"\n",
Expand All @@ -149,12 +139,22 @@
"metadata": {},
"outputs": [],
"source": [
"#| include: true\n",
"#| include: false\n",
"#| code-fold: true\n",
"#| code-summary: Display a summary\n",
"\n",
"# data.describe().round(1).reset_index()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<iframe\n",
" src=\"https://zippy-geomaps.streamlit.app?embed=true\"\n",
" style=\"height: 450px; width: 100%;\"\n",
"></iframe>"
]
}
],
"metadata": {
Expand All @@ -173,7 +173,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.0"
"version": "3.11.11"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 0eebee4

Please sign in to comment.