You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* release number
* add a shortcut for discussions
* formatting
* use the discussion shortcut
* more formatting
* release summary
* Update whats-new.rst
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* contributors
* release date
* reword the release summary
---------
Co-authored-by: Deepak Cherian <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Copy file name to clipboardexpand all lines: doc/whats-new.rst
+28-23
Original file line number
Diff line number
Diff line change
@@ -15,19 +15,24 @@ What's New
15
15
np.random.seed(123456)
16
16
17
17
18
-
.. _whats-new.2024.06.1:
18
+
.. _whats-new.2024.07.0:
19
19
20
-
v2024.06.1 (unreleased)
21
-
-----------------------
20
+
v2024.07.0 (Jul 30, 2024)
21
+
-------------------------
22
+
This release extends the API for groupby operations with various `grouper objects <groupby.groupers_>`, and includes improvements to the documentation and numerous bugfixes.
23
+
24
+
Thanks to the 22 contributors to this release:
25
+
Alfonso Ladino, ChrisCleaner, David Hoese, Deepak Cherian, Dieter Werthmüller, Illviljan, Jessica Scheick, Joel Jaeschke, Justus Magin, K. Arthur Endsley, Kai Mühlbauer, Mark Harfouche, Martin Raspaud, Mathijs Verhaegh, Maximilian Roos, Michael Niklas, Michał Górny, Moritz Schreiber, Pontus Lurcock, Spencer Clark, Stephan Hoyer and Tom Nicholas
22
26
23
27
New Features
24
28
~~~~~~~~~~~~
25
29
- Use fastpath when grouping both montonically increasing and decreasing variable
26
-
in :py:class:`GroupBy` (:issue:`6220`, :pull:`7427`). By `Joel Jaeschke <https://github.com/joeljaeschke>`_.
30
+
in :py:class:`GroupBy` (:issue:`6220`, :pull:`7427`).
31
+
By `Joel Jaeschke <https://github.com/joeljaeschke>`_.
27
32
- Introduce new :py:class:`groupers.UniqueGrouper`, :py:class:`groupers.BinGrouper`, and
28
33
:py:class:`groupers.TimeResampler` objects as a step towards supporting grouping by
29
-
multiple variables. See the `docs <groupby.groupers_>` and the
30
-
`grouper design doc <https://github.com/pydata/xarray/blob/main/design_notes/grouper_objects.md>`_ for more.
34
+
multiple variables. See the `docs <groupby.groupers_>` and the `grouper design doc
35
+
<https://github.com/pydata/xarray/blob/main/design_notes/grouper_objects.md>`_ for more.
31
36
(:issue:`6610`, :pull:`8840`).
32
37
By `Deepak Cherian <https://github.com/dcherian>`_.
33
38
- Allow rechunking to a frequency using ``Dataset.chunk(time=TimeResampler("YE"))`` syntax. (:issue:`7559`, :pull:`9109`)
@@ -47,15 +52,17 @@ New Features
47
52
48
53
Breaking changes
49
54
~~~~~~~~~~~~~~~~
50
-
- The ``base`` and ``loffset`` parameters to :py:meth:`Dataset.resample` and :py:meth:`DataArray.resample`
51
-
is now removed. These parameters has been deprecated since v2023.03.0. Using the
52
-
``origin`` or ``offset`` parameters is recommended as a replacement for using
53
-
the ``base`` parameter and using time offset arithmetic is recommended as a
54
-
replacement for using the ``loffset`` parameter.
55
-
- The ``squeeze`` kwarg to ``groupby`` is completely deprecated. This has been the source of some quite confusing
56
-
behaviour and has been deprecated since v2024.01.0. `groupby`` behavior is now always consistent
57
-
with the existing ``.groupby(..., squeeze=False)`` behavior.
58
-
By `Deepak Cherian <https://github.com/dcherian>`_. (:pull:`9280`)
55
+
- The ``base`` and ``loffset`` parameters to :py:meth:`Dataset.resample` and
56
+
:py:meth:`DataArray.resample` are now removed. These parameters have been deprecated since
57
+
v2023.03.0. Using the ``origin`` or ``offset`` parameters is recommended as a replacement for
58
+
using the ``base`` parameter and using time offset arithmetic is recommended as a replacement for
59
+
using the ``loffset`` parameter. (:pull:`9233`)
60
+
By `Deepak Cherian <https://github.com/dcherian>`_.
61
+
- The ``squeeze`` kwarg to ``groupby`` is now ignored. This has been the source of some
62
+
quite confusing behaviour and has been deprecated since v2024.01.0. `groupby`` behavior is now
63
+
always consistent with the existing ``.groupby(..., squeeze=False)`` behavior. No errors will
64
+
be raised if `squeeze=False`. (:pull:`9280`)
65
+
By `Deepak Cherian <https://github.com/dcherian>`_.
59
66
60
67
61
68
Bug fixes
@@ -74,24 +81,22 @@ Bug fixes
74
81
By `Justus Magin <https://github.com/keewis>`_.
75
82
- Address regression introduced in :pull:`9002` that prevented objects returned
76
83
by py:meth:`DataArray.convert_calendar` to be indexed by a time index in
77
-
certain circumstances (:issue:`9138`, :pull:`9192`). By `Mark Harfouche
78
-
<https://github.com/hmaarrfk>`_ and `Spencer Clark
79
-
<https://github.com/spencerkclark>`.
80
-
81
-
- Fiy static typing of tolerance arguments by allowing `str` type (:issue:`8892`, :pull:`9194`).
84
+
certain circumstances (:issue:`9138`, :pull:`9192`).
85
+
By `Mark Harfouche <https://github.com/hmaarrfk>`_ and `Spencer Clark <https://github.com/spencerkclark>`_.
86
+
- Fix static typing of tolerance arguments by allowing `str` type (:issue:`8892`, :pull:`9194`).
82
87
By `Michael Niklas <https://github.com/headtr1ck>`_.
83
88
- Dark themes are now properly detected for ``html[data-theme=dark]``-tags (:pull:`9200`).
84
89
By `Dieter Werthmüller <https://github.com/prisae>`_.
85
90
- Reductions no longer fail for ``np.complex_`` dtype arrays when numbagg is
86
-
installed.
87
-
By `Maximilian Roos <https://github.com/max-sixty>`_
91
+
installed. (:pull:`9210`)
92
+
By `Maximilian Roos <https://github.com/max-sixty>`_.
88
93
89
94
Documentation
90
95
~~~~~~~~~~~~~
91
96
92
97
- Adds intro to backend section of docs, including a flow-chart to navigate types of backends (:pull:`9175`).
93
98
By `Jessica Scheick <https://github.com/jessicas11>`_.
94
-
- Adds a flow-chart diagram to help users navigate help resources (`Discussion #8990<https://github.com/pydata/xarray/discussions/8990>`_, :pull:`9147`).
99
+
- Adds a flow-chart diagram to help users navigate help resources (:discussion:`8990`, :pull:`9147`).
95
100
By `Jessica Scheick <https://github.com/jessicas11>`_.
96
101
- Improvements to Zarr & chunking docs (:pull:`9139`, :pull:`9140`, :pull:`9132`)
97
102
By `Maximilian Roos <https://github.com/max-sixty>`_.
0 commit comments