@@ -16,58 +16,73 @@ What's New
16
16
17
17
.. _whats-new.0.16.1 :
18
18
19
- v0.16.1 (unreleased )
19
+ v0.16.1 (2020-09-20 )
20
20
---------------------
21
21
22
+ This patch release fixes an incompatability with a recent pandas change, which
23
+ was causing an issue indexing with a ``datetime64 ``. It also includes
24
+ improvements to ``rolling ``, ``to_dataframe ``, ``cov `` & ``corr `` methods and
25
+ bug fixes.
26
+
27
+ Many thanks to the 36 contributors who contributed to this release:
28
+
29
+ Aaron Spring, Akio Taniguchi, Aleksandar Jelenak, Alexandre Poux,
30
+ Caleb, Dan Nowacki, Deepak Cherian, Gerardo Rivera, Jacob Tomlinson, James A.
31
+ Bednar, Joe Hamman, Julia Kent, Kai Mühlbauer, Keisuke Fujii, Mathias Hauser,
32
+ Maximilian Roos, Nick R. Papior, Pascal Bourgault, Peter Hausamann, Romain
33
+ Martinez, Russell Manser, Samnan Rahee, Sander, Spencer Clark, Stephan Hoyer,
34
+ Thomas Zilio, Tobias Kölling, Tom Augspurger, alexamici, crusaderky, darikg,
35
+ inakleinbottle, jenssss, johnomotani, keewis, rpgoldman
36
+
22
37
Breaking changes
23
38
~~~~~~~~~~~~~~~~
39
+
24
40
- :py:meth: `DataArray.astype ` and :py:meth: `Dataset.astype ` now preserve attributes. Keep the
25
41
old behavior by passing `keep_attrs=False ` (:issue: `2049 `, :pull: `4314 `).
26
42
By `Dan Nowacki <https://github.com/dnowacki-usgs >`_ and `Gabriel Joel Mitchell <https://github.com/gajomi >`_.
27
43
28
44
New Features
29
45
~~~~~~~~~~~~
30
- - Support multiple outputs in :py:func: `xarray.apply_ufunc ` when using ``dask='parallelized' ``. (:issue: `1815 `, :pull: `4060 `)
31
- By `Kai Mühlbauer <https://github.com/kmuehlbauer >`_.
46
+
32
47
- :py:meth: `~xarray.DataArray.rolling ` and :py:meth: `~xarray.Dataset.rolling `
33
48
now accept more than 1 dimension. (:pull: `4219 `)
34
49
By `Keisuke Fujii <https://github.com/fujiisoup >`_.
50
+ - :py:meth: `~xarray.DataArray.to_dataframe ` and :py:meth: `~xarray.Dataset.to_dataframe `
51
+ now accept a ``dim_order `` parameter allowing to specify the resulting dataframe's
52
+ dimensions order (:issue: `4331 `, :pull: `4333 `).
53
+ By `Thomas Zilio <https://github.com/thomas-z >`_.
54
+ - Support multiple outputs in :py:func: `xarray.apply_ufunc ` when using
55
+ ``dask='parallelized' ``. (:issue: `1815 `, :pull: `4060 `).
56
+ By `Kai Mühlbauer <https://github.com/kmuehlbauer >`_.
35
57
- ``min_count `` can be supplied to reductions such as ``.sum `` when specifying
36
- multiple dimension to reduce over. (:pull: `4356 `)
58
+ multiple dimension to reduce over; (:pull: `4356 `).
37
59
By `Maximilian Roos <https://github.com/max-sixty >`_.
38
- - :py:func: `xarray.cov ` and :py:func: `xarray.corr ` now handle missing values. (:pull: `4351 `)
60
+ - :py:func: `xarray.cov ` and :py:func: `xarray.corr ` now handle missing values; (:pull: `4351 `).
39
61
By `Maximilian Roos <https://github.com/max-sixty >`_.
62
+ - Add support for parsing datetime strings formatted following the default
63
+ string representation of cftime objects, i.e. YYYY-MM-DD hh:mm: ss, in
64
+ partial datetime string indexing, as well as :py:meth: `~xarray.cftime_range `
65
+ (:issue: `4337 `). By `Spencer Clark <https://github.com/spencerkclark >`_.
40
66
- Build ``CFTimeIndex.__repr__ `` explicitly as :py:class: `pandas.Index `. Add ``calendar `` as a new
41
67
property for :py:class: `CFTimeIndex ` and show ``calendar `` and ``length `` in
42
68
``CFTimeIndex.__repr__ `` (:issue: `2416 `, :pull: `4092 `)
43
69
By `Aaron Spring <https://github.com/aaronspring >`_.
44
- - Relaxed the :ref: `mindeps_policy ` to support:
45
-
46
- - all versions of setuptools released in the last 42 months (but no older than 38.4)
47
- - all versions of dask and dask.distributed released in the last 12 months (but no
48
- older than 2.9)
49
- - all versions of other packages released in the last 12 months
50
-
51
- All are up from 6 months (:issue: `4295 `)
52
- `Guido Imperiale <https://github.com/crusaderky >`_.
53
70
- Use a wrapped array's ``_repr_inline_ `` method to construct the collapsed ``repr ``
54
71
of :py:class: `DataArray ` and :py:class: `Dataset ` objects and
55
72
document the new method in :doc: `internals `. (:pull: `4248 `).
56
73
By `Justus Magin <https://github.com/keewis >`_.
57
- - Add support for parsing datetime strings formatted following the default
58
- string representation of cftime objects, i.e. YYYY-MM-DD hh:mm: ss, in
59
- partial datetime string indexing, as well as :py:meth: `~xarray.cftime_range `
60
- (:issue: `4337 `). By `Spencer Clark <https://github.com/spencerkclark >`_.
61
- - :py:meth: `~xarray.DataArray.to_dataframe ` and :py:meth: `~xarray.Dataset.to_dataframe `
62
- now accept a ``dim_order `` parameter allowing to specify the resulting dataframe's
63
- dimensions order (:issue: `4331 `, :pull: `4333 `).
64
- By `Thomas Zilio <https://github.com/thomas-z >`_.
74
+ - Allow per-variable fill values in most functions. (:pull: `4237 `).
75
+ By `Justus Magin <https://github.com/keewis >`_.
65
76
- Expose ``use_cftime `` option in :py:func: `~xarray.open_zarr ` (:issue: `2886 `, :pull: `3229 `)
66
77
By `Samnan Rahee <https://github.com/Geektrovert >`_ and `Anderson Banihirwe <https://github.com/andersy005 >`_.
67
78
68
79
69
80
Bug fixes
70
81
~~~~~~~~~
82
+
83
+ - Fix indexing with datetime64 scalars with pandas 1.1 (:issue: `4283 `).
84
+ By `Stephan Hoyer <https://github.com/shoyer >`_ and
85
+ `Justus Magin <https://github.com/keewis >`_.
71
86
- Variables which are chunked using dask only along some dimensions can be chunked while storing with zarr along previously
72
87
unchunked dimensions (:pull: `4312 `) By `Tobias Kölling <https://github.com/d70-t >`_.
73
88
- Fixed a bug in backend caused by basic installation of Dask (:issue: `4164 `, :pull: `4318 `)
@@ -86,13 +101,14 @@ Bug fixes
86
101
By `Jens Svensmark <https://github.com/jenssss >`_
87
102
- Fix incorrect legend labels for :py:meth: `Dataset.plot.scatter ` (:issue: `4126 `).
88
103
By `Peter Hausamann <https://github.com/phausamann >`_.
104
+ - Fix ``pip install . `` when no ``.git `` directory exists; namely when the xarray source
105
+ directory has been rsync'ed by PyCharm Professional for a remote deployment over SSH.
106
+ By `Guido Imperiale <https://github.com/crusaderky >`_
89
107
- Preserve dimension and coordinate order during :py:func: `xarray.concat ` (:issue: `2811 `, :issue: `4072 `, :pull: `4419 `).
90
108
By `Kai Mühlbauer <https://github.com/kmuehlbauer >`_.
91
109
- Avoid relying on :py:class: `set ` objects for the ordering of the coordinates (:pull: `4409 `)
92
110
By `Justus Magin <https://github.com/keewis >`_.
93
- - Fix indexing with datetime64 scalars with pandas 1.1 (:issue: `4283 `).
94
- By `Stephan Hoyer <https://github.com/shoyer >`_ and
95
- `Justus Magin <https://github.com/keewis >`_.
111
+
96
112
97
113
Documentation
98
114
~~~~~~~~~~~~~
@@ -102,19 +118,26 @@ Documentation
102
118
- Removed skipna argument from :py:meth: `DataArray.count `, :py:meth: `DataArray.any `, :py:meth: `DataArray.all `. (:issue: `755 `)
103
119
By `Sander van Rijn <https://github.com/sjvrijn >`_
104
120
- Update the contributing guide to use merges instead of rebasing and state
105
- that we squash-merge. (:pull: `4355 `) By `Justus Magin <https://github.com/keewis >`_.
121
+ that we squash-merge. (:pull: `4355 `). By `Justus Magin <https://github.com/keewis >`_.
106
122
- Make sure the examples from the docstrings actually work (:pull: `4408 `).
107
123
By `Justus Magin <https://github.com/keewis >`_.
108
124
- Updated Vectorized Indexing to a clearer example.
109
125
By `Maximilian Roos <https://github.com/max-sixty >`_
110
126
111
127
Internal Changes
112
128
~~~~~~~~~~~~~~~~
129
+
130
+ - Relaxed the :ref: `mindeps_policy ` to support:
131
+
132
+ - all versions of setuptools released in the last 42 months (but no older than 38.4)
133
+ - all versions of dask and dask.distributed released in the last 12 months (but no
134
+ older than 2.9)
135
+ - all versions of other packages released in the last 12 months
136
+
137
+ All are up from 6 months (:issue: `4295 `)
138
+ `Guido Imperiale <https://github.com/crusaderky >`_.
113
139
- Use :py:func: `dask.array.apply_gufunc ` instead of :py:func: `dask.array.blockwise ` in
114
140
:py:func: `xarray.apply_ufunc ` when using ``dask='parallelized' ``. (:pull: `4060 `, :pull: `4391 `, :pull: `4392 `)
115
- - Fix ``pip install . `` when no ``.git `` directory exists; namely when the xarray source
116
- directory has been rsync'ed by PyCharm Professional for a remote deployment over SSH.
117
- By `Guido Imperiale <https://github.com/crusaderky >`_
118
141
- Align ``mypy `` versions to ``0.782 `` across ``requirements `` and
119
142
``.pre-commit-config.yml `` files. (:pull: `4390 `)
120
143
By `Maximilian Roos <https://github.com/max-sixty >`_
0 commit comments