From e50e575a798df5f6f98c647a16411a866401fe35 Mon Sep 17 00:00:00 2001 From: Mathias Hauser Date: Fri, 28 Jan 2022 06:41:49 +0100 Subject: [PATCH] doc: fix pd datetime parsing warning [skip-ci] (#6194) --- doc/user-guide/computation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user-guide/computation.rst b/doc/user-guide/computation.rst index b0cc93ce282..cb6eadc8e63 100644 --- a/doc/user-guide/computation.rst +++ b/doc/user-guide/computation.rst @@ -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"],