Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Apr 4, 2024
1 parent 79aaa2e commit bc1b852
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 @@ -345,7 +345,7 @@
"\n",
"\n",
"gdf[\"region\"] = gdf[\"RGIID\"].str[6:8].astype(int)\n",
"grouped = gdf[[\"year\", \"AREA\", \"region\"]].groupby(\"region\")\n",
"grouped = gdf[[\"year\", \"decimal_year\", \"AREA\", \"region\"]].groupby(\"region\")\n",
"means = {\n",
" \"arithmetic\": grouped[\"year\"].mean(),\n",
" \"weighted\": grouped.apply(\n",
Expand Down

0 comments on commit bc1b852

Please sign in to comment.