Skip to content
forked from pydata/xarray

Commit

Permalink
doc: fix pd datetime parsing warning [skip-ci] (pydata#6194)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathause authored Jan 28, 2022
1 parent 9235548 commit e50e575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/user-guide/computation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ methods. This supports the block aggregation along multiple dimensions,
.. ipython:: python
x = np.linspace(0, 10, 300)
t = pd.date_range("15/12/1999", periods=364)
t = pd.date_range("1999-12-15", periods=364)
da = xr.DataArray(
np.sin(x) * np.cos(np.linspace(0, 1, 364)[:, np.newaxis]),
dims=["time", "x"],
Expand Down

0 comments on commit e50e575

Please sign in to comment.