@@ -14,14 +14,58 @@ What's New
14
14
15
15
np.random.seed(123456 )
16
16
17
+ .. _whats-new.0.16.1 :
18
+
19
+ v0.16.1 (unreleased)
20
+ ---------------------
21
+
22
+ Breaking changes
23
+ ~~~~~~~~~~~~~~~~
24
+
25
+
26
+ New Features
27
+ ~~~~~~~~~~~~
28
+
29
+
30
+ Bug fixes
31
+ ~~~~~~~~~
32
+
33
+
34
+ Documentation
35
+ ~~~~~~~~~~~~~
36
+
37
+
38
+ Internal Changes
39
+ ~~~~~~~~~~~~~~~~
40
+
41
+
17
42
.. _whats-new.0.16.0 :
18
43
19
- v0.16.0 (unreleased )
44
+ v0.16.0 (2020-07-11 )
20
45
---------------------
21
46
47
+ This release adds `xarray.cov ` & `xarray.corr ` for covariance & correlation
48
+ respectively; the `idxmax ` & `idxmin ` methods, the `polyfit ` method &
49
+ `xarray.polyval ` for fitting polynomials, as well as a number of documentation
50
+ improvements, other features, and bug fixes. Many thanks to all 44 contributors
51
+ who contributed to this release:
52
+
53
+ Akio Taniguchi, Andrew Williams, Aurélien Ponte, Benoit Bovy, Dave Cole, David
54
+ Brochart, Deepak Cherian, Elliott Sales de Andrade, Etienne Combrisson, Hossein
55
+ Madadi, Huite, Joe Hamman, Kai Mühlbauer, Keisuke Fujii, Maik Riechert, Marek
56
+ Jacob, Mathias Hauser, Matthieu Ancellin, Maximilian Roos, Noah D Brenowitz,
57
+ Oriol Abril, Pascal Bourgault, Phillip Butcher, Prajjwal Nijhara, Ray Bell, Ryan
58
+ Abernathey, Ryan May, Spencer Clark, Spencer Hill, Srijan Saurav, Stephan Hoyer,
59
+ Taher Chegini, Todd, Tom Nicholas, Yohai Bar Sinai, Yunus Sevinchan,
60
+ arabidopsis, aurghs, clausmichele, dmey, johnomotani, keewis, raphael dussin,
61
+ risebell
62
+
22
63
Breaking changes
23
64
~~~~~~~~~~~~~~~~
24
65
66
+ - Minimum supported versions for the following packages have changed: ``dask >=2.9 ``,
67
+ ``distributed>=2.9 ``.
68
+ By `Deepak Cherian <https://github.com/dcherian >`_
25
69
- ``groupby `` operations will restore coord dimension order. Pass ``restore_coord_dims=False ``
26
70
to revert to previous behavior.
27
71
- :meth: `DataArray.transpose ` will now transpose coordinates by default.
@@ -43,15 +87,6 @@ Breaking changes
43
87
default (:issue: `4176 `)
44
88
By `Stephan Hoyer <https://github.com/shoyer >`_.
45
89
46
- Enhancements
47
- ~~~~~~~~~~~~
48
- - Performance improvement of :py:meth: `DataArray.interp ` and :py:func: `Dataset.interp `
49
- For orthogonal linear- and nearest-neighbor interpolation, we do 1d-interpolation sequentially
50
- rather than interpolating in multidimensional space. (:issue: `2223 `)
51
- By `Keisuke Fujii <https://github.com/fujiisoup >`_.
52
- - :py:meth: `DataArray.reset_index ` and :py:meth: `Dataset.reset_index ` now keep
53
- coordinate attributes (:pull: `4103 `). By `Oriol Abril <https://github.com/OriolAbril >`_.
54
-
55
90
New Features
56
91
~~~~~~~~~~~~
57
92
- :py:meth: `DataArray.argmin ` and :py:meth: `DataArray.argmax ` now support
@@ -61,15 +96,19 @@ New Features
61
96
(:pull: `3936 `)
62
97
By `John Omotani <https://github.com/johnomotani >`_, thanks to `Keisuke Fujii
63
98
<https://github.com/fujiisoup> `_ for work in :pull: `1469 `.
99
+ - Added :py:func: `xarray.cov ` and :py:func: `xarray.corr ` (:issue: `3784 `, :pull: `3550 `, :pull: `4089 `).
100
+ By `Andrew Williams <https://github.com/AndrewWilliams3142 >`_ and `Robin Beer <https://github.com/r-beer >`_.
101
+ - Implement :py:meth: `DataArray.idxmax `, :py:meth: `DataArray.idxmin `,
102
+ :py:meth: `Dataset.idxmax `, :py:meth: `Dataset.idxmin `. (:issue: `60 `, :pull: `3871 `)
103
+ By `Todd Jennings <https://github.com/toddrjen >`_
104
+ - Added :py:meth: `DataArray.polyfit ` and :py:func: `xarray.polyval ` for fitting
105
+ polynomials. (:issue: `3349 `, :pull: `3733 `, :pull: `4099 `)
106
+ By `Pascal Bourgault <https://github.com/aulemahal >`_.
64
107
- Added :py:meth: `xarray.infer_freq ` for extending frequency inferring to CFTime indexes and data (:pull: `4033 `).
65
108
By `Pascal Bourgault <https://github.com/aulemahal >`_.
66
109
- ``chunks='auto' `` is now supported in the ``chunks `` argument of
67
110
:py:meth: `Dataset.chunk `. (:issue: `4055 `)
68
111
By `Andrew Williams <https://github.com/AndrewWilliams3142 >`_
69
- - Added :py:func: `xarray.cov ` and :py:func: `xarray.corr ` (:issue: `3784 `, :pull: `3550 `, :pull: `4089 `).
70
- By `Andrew Williams <https://github.com/AndrewWilliams3142 >`_ and `Robin Beer <https://github.com/r-beer >`_.
71
- - Added :py:meth: `DataArray.polyfit ` and :py:func: `xarray.polyval ` for fitting polynomials. (:issue: `3349 `, :pull: `3733 `, :pull: `4099 `)
72
- By `Pascal Bourgault <https://github.com/aulemahal >`_.
73
112
- Control over attributes of result in :py:func: `merge `, :py:func: `concat `,
74
113
:py:func: `combine_by_coords ` and :py:func: `combine_nested ` using
75
114
combine_attrs keyword argument. (:issue: `3865 `, :pull: `3877 `)
@@ -79,19 +118,10 @@ New Features
79
118
the exception when a dimension passed to ``isel `` is not present with a
80
119
warning, or just ignore the dimension. (:issue: `3866 `, :pull: `3923 `)
81
120
By `John Omotani <https://github.com/johnomotani >`_
82
- - Limited the length of array items with long string reprs to a
83
- reasonable width (:pull: `3900 `)
84
- By `Maximilian Roos <https://github.com/max-sixty >`_
85
- - Limited the number of lines of large arrays when numpy reprs would have greater than 40.
86
- (:pull: `3905 `)
87
- By `Maximilian Roos <https://github.com/max-sixty >`_
88
- - Implement :py:meth: `DataArray.idxmax `, :py:meth: `DataArray.idxmin `,
89
- :py:meth: `Dataset.idxmax `, :py:meth: `Dataset.idxmin `. (:issue: `60 `, :pull: `3871 `)
90
- By `Todd Jennings <https://github.com/toddrjen >`_
91
121
- Support dask handling for :py:meth: `DataArray.idxmax `, :py:meth: `DataArray.idxmin `,
92
122
:py:meth: `Dataset.idxmax `, :py:meth: `Dataset.idxmin `. (:pull: `3922 `, :pull: `4135 `)
93
123
By `Kai Mühlbauer <https://github.com/kmuehlbauer >`_ and `Pascal Bourgault <https://github.com/aulemahal >`_.
94
- - More support for unit aware arrays with pint (:pull: `3643 `, :pull: `3975 `)
124
+ - More support for unit aware arrays with pint (:pull: `3643 `, :pull: `3975 `, :pull: ` 4163 ` )
95
125
By `Justus Magin <https://github.com/keewis >`_.
96
126
- Support overriding existing variables in ``to_zarr() `` with ``mode='a' `` even
97
127
without ``append_dim ``, as long as dimension sizes do not change.
@@ -119,7 +149,30 @@ New Features
119
149
(:py:func: `xarray.open_dataarray `, :py:func: `xarray.open_dataarray `,
120
150
:py:func: `xarray.decode_cf `) that allows to disable/enable the decoding of timedeltas
121
151
independently of time decoding (:issue: `1621 `)
122
- `Aureliana Barghini <https://github.com/aurghs> `
152
+ `Aureliana Barghini <https://github.com/aurghs >`_
153
+
154
+ Enhancements
155
+ ~~~~~~~~~~~~
156
+ - Performance improvement of :py:meth: `DataArray.interp ` and :py:func: `Dataset.interp `
157
+ For orthogonal linear- and nearest-neighbor interpolation, we do 1d-interpolation sequentially
158
+ rather than interpolating in multidimensional space. (:issue: `2223 `)
159
+ By `Keisuke Fujii <https://github.com/fujiisoup >`_.
160
+ - Major performance improvement for :py:meth: `Dataset.from_dataframe ` when the
161
+ dataframe has a MultiIndex (:pull: `4184 `).
162
+ By `Stephan Hoyer <https://github.com/shoyer >`_.
163
+ - :py:meth: `DataArray.reset_index ` and :py:meth: `Dataset.reset_index ` now keep
164
+ coordinate attributes (:pull: `4103 `). By `Oriol Abril <https://github.com/OriolAbril >`_.
165
+ - Axes kwargs such as ``facecolor `` can now be passed to :py:meth: `DataArray.plot ` in ``subplot_kws ``.
166
+ This works for both single axes plots and FacetGrid plots.
167
+ By `Raphael Dussin <https://github.com/raphaeldussin >`_.
168
+ - Array items with long string reprs are now limited to a
169
+ reasonable width (:pull: `3900 `)
170
+ By `Maximilian Roos <https://github.com/max-sixty >`_
171
+ - Large arrays whose numpy reprs would have greater than 40 lines are now
172
+ limited to a reasonable length.
173
+ (:pull: `3905 `)
174
+ By `Maximilian Roos <https://github.com/max-sixty >`_
175
+
123
176
124
177
Bug fixes
125
178
~~~~~~~~~
@@ -133,8 +186,9 @@ Bug fixes
133
186
By `Deepak Cherian <https://github.com/dcherian >`_.
134
187
- ``ValueError `` is raised when ``fill_value `` is not a scalar in :py:meth: `full_like `. (:issue: `3977 `)
135
188
By `Huite Bootsma <https://github.com/huite >`_.
136
- - Fix wrong order in converting a ``pd.Series `` with a MultiIndex to ``DataArray ``. (:issue: `3951 `)
137
- By `Keisuke Fujii <https://github.com/fujiisoup >`_.
189
+ - Fix wrong order in converting a ``pd.Series `` with a MultiIndex to ``DataArray ``.
190
+ (:issue: `3951 `, :issue: `4186 `)
191
+ By `Keisuke Fujii <https://github.com/fujiisoup >`_ and `Stephan Hoyer <https://github.com/shoyer >`_.
138
192
- Fix renaming of coords when one or more stacked coords is not in
139
193
sorted order during stack+groupby+apply operations. (:issue: `3287 `,
140
194
:pull: `3906 `) By `Spencer Hill <https://github.com/spencerahill >`_
@@ -167,6 +221,8 @@ Bug fixes
167
221
By `Mathias Hauser <https://github.com/mathause >`_.
168
222
- Fix html repr in untrusted notebooks: fallback to plain text repr. (:pull: `4053 `)
169
223
By `Benoit Bovy <https://github.com/benbovy >`_.
224
+ - Fix :py:meth: `DataArray.to_unstacked_dataset ` for single-dimension variables. (:issue: `4049 `)
225
+ By `Deepak Cherian <https://github.com/dcherian >`_
170
226
- Fix :py:func: `open_rasterio ` for ``WarpedVRT `` with specified ``src_crs ``. (:pull: `4104 `)
171
227
By `Dave Cole <https://github.com/dtpc >`_.
172
228
0 commit comments