Skip to content

Commit

Permalink
fix: fix altair installation and releases by date function call
Browse files Browse the repository at this point in the history
  • Loading branch information
yolile committed Feb 10, 2024
1 parent 30d7829 commit f077423
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 18 deletions.
10 changes: 8 additions & 2 deletions component_charts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,19 @@
},
"outputs": [],
"source": [
"! pip install --upgrade altair >> pip.log"
"! pip install altair pyarrow==11.0.0 >> pip.log"
]
},
{
"cell_type": "markdown",
"source": [
"Import chart packages and define chart functions:"
"Import chart packages and define chart functions. The currently available chart functions are:\n",
"\n",
"* Release count\n",
"* Objects per stage\n",
"* Releases by month\n",
"* Objects per year\n",
"* Top buyers"
],
"metadata": {
"id": "P1aenztz1zK3"
Expand Down
2 changes: 1 addition & 1 deletion component_scope_kingfisher.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@
"source": [
"# Resample by month\n",
"release_dates = release_dates.set_index(\"date\")\n",
"release_dates = release_dates.groupby([\"collection_id\", \"release_type\"]).resample(\"M\").sum()\n",
"release_dates = release_dates.groupby([\"collection_id\", \"release_type\"]).resample(\"M\").sum().reset_index()\n",
"\n",
"plot_releases_by_month(release_dates)"
],
Expand Down
12 changes: 9 additions & 3 deletions template_data_quality_feedback.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
},
"outputs": [],
"source": [
"! pip install --upgrade altair >> pip.log"
"! pip install altair pyarrow==11.0.0 >> pip.log"
]
},
{
Expand All @@ -157,7 +157,13 @@
"id": "P1aenztz1zK3"
},
"source": [
"Import chart packages and define chart functions:"
"Import chart packages and define chart functions. The currently available chart functions are:\n",
"\n",
"* Release count\n",
"* Objects per stage\n",
"* Releases by month\n",
"* Objects per year\n",
"* Top buyers"
]
},
{
Expand Down Expand Up @@ -1041,7 +1047,7 @@
"source": [
"# Resample by month\n",
"release_dates = release_dates.set_index(\"date\")\n",
"release_dates = release_dates.groupby([\"collection_id\", \"release_type\"]).resample(\"M\").sum()\n",
"release_dates = release_dates.groupby([\"collection_id\", \"release_type\"]).resample(\"M\").sum().reset_index()\n",
"\n",
"plot_releases_by_month(release_dates)"
]
Expand Down
12 changes: 9 additions & 3 deletions template_publisher_analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
},
"outputs": [],
"source": [
"! pip install --upgrade altair >> pip.log"
"! pip install altair pyarrow==11.0.0 >> pip.log"
]
},
{
Expand All @@ -157,7 +157,13 @@
"id": "P1aenztz1zK3"
},
"source": [
"Import chart packages and define chart functions:"
"Import chart packages and define chart functions. The currently available chart functions are:\n",
"\n",
"* Release count\n",
"* Objects per stage\n",
"* Releases by month\n",
"* Objects per year\n",
"* Top buyers"
]
},
{
Expand Down Expand Up @@ -1041,7 +1047,7 @@
"source": [
"# Resample by month\n",
"release_dates = release_dates.set_index(\"date\")\n",
"release_dates = release_dates.groupby([\"collection_id\", \"release_type\"]).resample(\"M\").sum()\n",
"release_dates = release_dates.groupby([\"collection_id\", \"release_type\"]).resample(\"M\").sum().reset_index()\n",
"\n",
"plot_releases_by_month(release_dates)"
]
Expand Down
12 changes: 9 additions & 3 deletions template_structure_and_format_feedback.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
},
"outputs": [],
"source": [
"! pip install --upgrade altair >> pip.log"
"! pip install altair pyarrow==11.0.0 >> pip.log"
]
},
{
Expand All @@ -157,7 +157,13 @@
"id": "P1aenztz1zK3"
},
"source": [
"Import chart packages and define chart functions:"
"Import chart packages and define chart functions. The currently available chart functions are:\n",
"\n",
"* Release count\n",
"* Objects per stage\n",
"* Releases by month\n",
"* Objects per year\n",
"* Top buyers"
]
},
{
Expand Down Expand Up @@ -1041,7 +1047,7 @@
"source": [
"# Resample by month\n",
"release_dates = release_dates.set_index(\"date\")\n",
"release_dates = release_dates.groupby([\"collection_id\", \"release_type\"]).resample(\"M\").sum()\n",
"release_dates = release_dates.groupby([\"collection_id\", \"release_type\"]).resample(\"M\").sum().reset_index()\n",
"\n",
"plot_releases_by_month(release_dates)"
]
Expand Down
10 changes: 8 additions & 2 deletions template_usability_checks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
},
"outputs": [],
"source": [
"! pip install --upgrade altair >> pip.log"
"! pip install altair pyarrow==11.0.0 >> pip.log"
]
},
{
Expand All @@ -157,7 +157,13 @@
"id": "P1aenztz1zK3"
},
"source": [
"Import chart packages and define chart functions:"
"Import chart packages and define chart functions. The currently available chart functions are:\n",
"\n",
"* Release count\n",
"* Objects per stage\n",
"* Releases by month\n",
"* Objects per year\n",
"* Top buyers"
]
},
{
Expand Down
10 changes: 8 additions & 2 deletions template_usability_checks_fieldlist.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
},
"outputs": [],
"source": [
"! pip install --upgrade altair >> pip.log"
"! pip install altair pyarrow==11.0.0 >> pip.log"
]
},
{
Expand All @@ -157,7 +157,13 @@
"id": "P1aenztz1zK3"
},
"source": [
"Import chart packages and define chart functions:"
"Import chart packages and define chart functions. The currently available chart functions are:\n",
"\n",
"* Release count\n",
"* Objects per stage\n",
"* Releases by month\n",
"* Objects per year\n",
"* Top buyers"
]
},
{
Expand Down
10 changes: 8 additions & 2 deletions template_usability_checks_registry.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
},
"outputs": [],
"source": [
"! pip install --upgrade altair >> pip.log"
"! pip install altair pyarrow==11.0.0 >> pip.log"
]
},
{
Expand All @@ -157,7 +157,13 @@
"id": "P1aenztz1zK3"
},
"source": [
"Import chart packages and define chart functions:"
"Import chart packages and define chart functions. The currently available chart functions are:\n",
"\n",
"* Release count\n",
"* Objects per stage\n",
"* Releases by month\n",
"* Objects per year\n",
"* Top buyers"
]
},
{
Expand Down

0 comments on commit f077423

Please sign in to comment.