Skip to content

Commit

Permalink
Update 01-high-level-computation-patterns.ipynb
Browse files Browse the repository at this point in the history
Updated to suit depreciation warning from Pandas 2 date parameter change from M to ME
  • Loading branch information
nameloCmaS authored Jun 14, 2024
1 parent c72ca10 commit c8ab3e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions intermediate/01-high-level-computation-patterns.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"xr.set_options(keep_attrs=True, display_expand_data=False)\n",
"\n",
"da = xr.tutorial.load_dataset(\"air_temperature\", engine=\"netcdf4\").air\n",
"monthly = da.resample(time=\"M\").mean()\n",
"monthly = da.resample(time=\"ME\").mean()\n",
"data = da.isel(time=0)\n",
"data.plot();"
]
Expand Down Expand Up @@ -1044,7 +1044,7 @@
"metadata": {},
"outputs": [],
"source": [
"da.resample(time=\"M\")"
"da.resample(time=\"ME\")"
]
},
{
Expand Down

0 comments on commit c8ab3e1

Please sign in to comment.