@@ -15,15 +15,20 @@ What's New
15
15
16
16
.. _whats-new.0.13.0 :
17
17
18
- v0.13.0 (unreleased )
19
- --------------------
18
+ v0.13.0 (10 July 2019 )
19
+ ----------------------
20
20
21
- This release increases the minimum required Python version from 3.5.0 to 3.5.3
22
- (:issue: `3089 `). By `Guido Imperiale <https://github.com/crusaderky >`_.
21
+ This release includes many exciting changes: wrapping of
22
+ `NEP18 <https://www.numpy.org/neps/nep-0018-array-function-protocol.html >`_ compliant
23
+ numpy-like arrays; new :py:meth: `~Dataset.plot.scatter ` method that can scatter
24
+ two ``DataArrays `` in a ``Dataset `` against each other; support for converting pandas
25
+ DataFrames to xarray objects that wrap ``pydata/sparse ``; and more!
23
26
24
27
Breaking changes
25
28
~~~~~~~~~~~~~~~~
26
29
30
+ - This release increases the minimum required Python version from 3.5.0 to 3.5.3
31
+ (:issue: `3089 `). By `Guido Imperiale <https://github.com/crusaderky >`_.
27
32
- The ``isel_points `` and ``sel_points `` methods are removed, having been deprecated
28
33
since v0.10.0. These are redundant with the ``isel `` / ``sel `` methods.
29
34
See :ref: `vectorized_indexing ` for the details
@@ -54,16 +59,16 @@ Breaking changes
54
59
error in a later release.
55
60
56
61
(:issue: `3250 `) by `Guido Imperiale <https://github.com/crusaderky >`_.
57
- - The default dimension for :py:meth: `~xarray. Dataset.groupby `, :py:meth: `~xarray. Dataset.resample `,
58
- :py:meth: `~xarray. DataArray.groupby ` and :py:meth: `~xarray. DataArray.resample ` reductions is now the
62
+ - The default dimension for :py:meth: `Dataset.groupby `, :py:meth: `Dataset.resample `,
63
+ :py:meth: `DataArray.groupby ` and :py:meth: `DataArray.resample ` reductions is now the
59
64
grouping or resampling dimension.
60
- - :py:meth: `~Dataset .to_dataset ` requires ``name `` to be passed as a kwarg (previously ambiguous
65
+ - :py:meth: `DataArray .to_dataset ` requires ``name `` to be passed as a kwarg (previously ambiguous
61
66
positional arguments were deprecated)
62
67
- Reindexing with variables of a different dimension now raise an error (previously deprecated)
63
68
- :py:func: `~xarray.broadcast_array ` is removed (previously deprecated in favor of
64
69
:py:func: `~xarray.broadcast `)
65
- - :py:meth: `~ Variable.expand_dims ` is removed (previously deprecated in favor of
66
- :py:meth: `~ Variable.set_dims `)
70
+ - :py:meth: `Variable.expand_dims ` is removed (previously deprecated in favor of
71
+ :py:meth: `Variable.set_dims `)
67
72
68
73
New functions/methods
69
74
~~~~~~~~~~~~~~~~~~~~~
@@ -102,13 +107,15 @@ New functions/methods
102
107
Currently only :py:meth: `Dataset.plot.scatter ` is implemented.
103
108
By `Yohai Bar Sinai <https://github.com/yohai >`_ and `Deepak Cherian <https://github.com/dcherian >`_
104
109
105
- - Added `head `, `tail ` and `thin ` methods to `Dataset ` and `DataArray `. (:issue: `319 `)
106
- By `Gerardo Rivera <https://github.com/dangomelon >`_.
110
+ - Added :py:meth: `DataArray.head `, :py:meth: `DataArray.tail ` and :py:meth: `DataArray.thin `;
111
+ as well as :py:meth: `Dataset.head `, :py:meth: `Dataset.tail ` and :py:meth: `Dataset.thin ` methods.
112
+ (:issue: `319 `) By `Gerardo Rivera <https://github.com/dangomelon >`_.
107
113
108
114
Enhancements
109
115
~~~~~~~~~~~~
110
116
111
117
- Multiple enhancements to :py:func: `~xarray.concat ` and :py:func: `~xarray.open_mfdataset `.
118
+ By `Deepak Cherian <https://github.com/dcherian >`_
112
119
113
120
- Added ``compat='override' ``. When merging, this option picks the variable from the first dataset
114
121
and skips all comparisons.
@@ -131,8 +138,6 @@ Enhancements
131
138
data = xr.open_mfdataset(files, concat_dim='time', data_vars='minimal',
132
139
coords='minimal', compat='override', join='override')
133
140
134
- By `Deepak Cherian <https://github.com/dcherian >`_:
135
-
136
141
- In :py:meth: `~xarray.Dataset.to_zarr `, passing ``mode `` is not mandatory if
137
142
``append_dim `` is set, as it will automatically be set to ``'a' `` internally.
138
143
By `David Brochart <https://github.com/davidbrochart >`_.
@@ -156,7 +161,8 @@ Enhancements
156
161
when the user passes invalid arguments (:issue: `3176 `).
157
162
By `Gregory Gundersen <https://github.com/gwgundersen >`_.
158
163
159
- - :py:func: `filter_by_attrs ` now filters the coordinates as well as the variables. By `Spencer Jones <https://github.com/cspencerjones >`_.
164
+ - :py:func: `filter_by_attrs ` now filters the coordinates as well as the variables.
165
+ By `Spencer Jones <https://github.com/cspencerjones >`_.
160
166
161
167
Bug fixes
162
168
~~~~~~~~~
@@ -195,9 +201,7 @@ Bug fixes
195
201
- Plots in 2 dimensions (pcolormesh, contour) now allow to specify levels as numpy
196
202
array (:issue: `3284 `). By `Mathias Hauser <https://github.com/mathause >`_.
197
203
- Fixed bug in :meth: `DataArray.quantile ` failing to keep attributes when
198
- `keep_attrs ` was True (:issue: `3304 `). By David Huard <https://github.com/huard>`_.
199
-
200
- .. _whats-new.0.12.3 :
204
+ `keep_attrs ` was True (:issue: `3304 `). By David Huard `<https://github.com/huard >`_.
201
205
202
206
Documentation
203
207
~~~~~~~~~~~~~
@@ -210,6 +214,8 @@ Documentation
210
214
(:issue: `3227 `).
211
215
By `Gregory Gundersen <https://github.com/gwgundersen/ >`_.
212
216
217
+ .. _whats-new.0.12.3 :
218
+
213
219
v0.12.3 (10 July 2019)
214
220
----------------------
215
221
@@ -224,14 +230,14 @@ New functions/methods
224
230
as described in :ref: `reshape.stacking_different `.
225
231
By `Noah Brenowitz <https://github.com/nbren12 >`_.
226
232
233
+ Enhancements
234
+ ~~~~~~~~~~~~
235
+
227
236
- Support for renaming ``Dataset `` variables and dimensions independently
228
237
with :py:meth: `~Dataset.rename_vars ` and :py:meth: `~Dataset.rename_dims `
229
238
(:issue: `3026 `).
230
239
By `Julia Kent <https://github.com/jukent >`_.
231
240
232
- Enhancements
233
- ~~~~~~~~~~~~
234
-
235
241
- Add ``scales ``, ``offsets ``, ``units `` and ``descriptions ``
236
242
attributes to :py:class: `~xarray.DataArray ` returned by
237
243
:py:func: `~xarray.open_rasterio `. (:issue: `3013 `)
0 commit comments