v2024.07.0
This release extends the API for groupby operations with various grouper objects, and includes improvements to the documentation and numerous bugfixes.
Thanks to the 22 contributors to this release:
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
What's Changed
- new whats-new section by @keewis in #9115
- Move Sphinx directives out of
See also
by @max-sixty in #8466 - Add test for rechunking to a size string by @dcherian in #9117
- Update docstring in api.py for open_mfdataset(), clarifying "chunks" argument by @arthur-e in #9121
- Grouper refactor by @dcherian in #9122
- adjust repr tests to account for different platforms (#9127) by @mgorny in #9128
- Support duplicate dimensions in
.chunk
by @mraspaud in #9099 - Update zendoo badge link by @max-sixty in #9133
- Split out distributed writes in zarr docs by @max-sixty in #9132
- Improve
to_zarr
docs by @max-sixty in #9139 - groupby: remove some internal use of IndexVariable by @dcherian in #9123
- Improve zarr chunks docs by @max-sixty in #9140
- Include numbagg in type checks by @max-sixty in #9159
- Remove mypy exclusions for a couple more libraries by @max-sixty in #9160
- Add test for #9155 by @max-sixty in #9161
- Docs: Add figure for navigating help resources by @JessicaS11 in #9147
- switch to datetime unit
"D"
by @keewis in #9170 - Slightly improve DataTree repr by @shoyer in #9064
- Fix example code formatting for CachingFileManager by @djhoese in #9178
- Change np.core.defchararray to np.char (#9165) by @pont-us in #9166
- temporarily pin
numpy<2
by @keewis in #9181 - temporarily remove
pydap
from CI by @keewis in #9183 - also pin
numpy
in the all-but-dask CI by @keewis in #9184 - promote floating-point numeric datetimes to 64-bit before decoding by @keewis in #9182
"source"
encoding for datasets opened fromfsspec
objects by @keewis in #8923- properly diff objects with arrays as attributes on variables by @keewis in #9169
- Allow str in static typing of reindex, ffill etc. by @headtr1ck in #9194
- Fix dark-theme in
html[data-theme=dark]
-tags by @prisae in #9200 - Add open_datatree benchmark by @aladinor in #9158
- use a
composite
strategy to generate the dataframe with a tz-aware datetime column by @keewis in #9174 - Hierarchical coordinates in DataTree by @shoyer in #9063
- avoid converting custom indexes to pandas indexes when formatting coordinate diffs by @keewis in #9157
- Fix reductions for
np.complex_
dtypes with numbagg by @max-sixty in #9210 - Consolidate some numbagg tests by @max-sixty in #9211
- Use numpy 2.0-compat
np.complex64
dtype in test by @max-sixty in #9217 - Fix two bugs in DataTree.update() by @shoyer in #9214
- Only use necessary dims when creating temporary dataarray by @Illviljan in #9206
- Cleanup test_coding_times.py by @Illviljan in #9223
- Use reshape and ravel from duck_array_ops in coding/times.py by @Illviljan in #9225
- Use duckarray assertions in test_coding_times by @Illviljan in #9226
- Fix time indexing regression in
convert_calendar
by @hmaarrfk in #9192 numpy
2 compatibility in thenetcdf4
andh5netcdf
backends by @keewis in #9136numpy
2 compatibility in the iris code paths by @keewis in #9156- switch the documentation to run with
numpy>=2
by @keewis in #9177 - exclude the bots from the release notes by @keewis in #9235
- Add a
.drop_attrs
method by @max-sixty in #8258 - Allow mypy to run in vscode by @max-sixty in #9239
- Fix typing for test_plot.py by @Illviljan in #9234
- Added a space to the documentation by @ChrisCleaner in #9247
- Per-variable specification of boolean parameters in open_dataset by @Ostheer in #9218
- Enable pandas type checking by @headtr1ck in #9213
- fix typing of fallback isdtype method by @headtr1ck in #9250
- Fix mypy on main by @max-sixty in #9252
- Grouper, Resampler as public api by @dcherian in #8840
- Update dropna docstring by @TomNicholas in #9257
- Delete
base
andloffset
parameters to resample by @dcherian in #9233 - groupby, resample: Deprecate some positional args by @dcherian in #9236
- Add
encode_cf_datetime
benchmark by @spencerkclark in #9262 - Update signature for _arrayfunction.array by @Illviljan in #9237
- Fix copybutton for multi line examples in double digit ipython cells by @mosc9575 in #9264
- add backend intro and how-to diagram by @JessicaS11 in #9175
- Restore ability to specify _FillValue as Python native integers by @djhoese in #9258
- Adding
open_datatree
backend-specific keyword arguments by @aladinor in #9199 - Change .groupby fastpath to work for monotonic increasing and decreasing by @JoelJaeschke in #7427
- Fully deprecate squeeze kwarg to groupby by @dcherian in #9280
- Support rechunking to a frequency. by @dcherian in #9109
- automate extracting the contributors by @keewis in #9288
- Allow importing from xarray.groupers by @dcherian in #9289
- release notes for 2024.07.0 by @keewis in #9287
New Contributors
- @arthur-e made their first contribution in #9121
- @pont-us made their first contribution in #9166
- @prisae made their first contribution in #9200
- @ChrisCleaner made their first contribution in #9247
- @Ostheer made their first contribution in #9218
- @mosc9575 made their first contribution in #9264
- @JoelJaeschke made their first contribution in #7427
Full Changelog: v2024.06.0...v2024.07.0