Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Apr 2, 2024
1 parent 27cdf4e commit 23c111b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/wp5/glacier_distribution.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"outputs": [],
"source": [
"size = gdf.set_index(\"year\").groupby(\"year\").size()\n",
"size = size.reindex(range(gdf[\"year\"].min(), gdf[\"year\"].max()), fill_value=0)\n",
"size = size.reindex(range(gdf[\"year\"].min(), gdf[\"year\"].max() + 1), fill_value=0)\n",
"missing = gdf[\"year\"].isnull().sum()\n",
"missing_perc = 100 * (missing / len(gdf[\"year\"]))\n",
"ax = size.plot.bar(\n",
Expand Down

0 comments on commit 23c111b

Please sign in to comment.