@@ -16,9 +16,13 @@ What's New
16
16
.. _whats-new.0.15.1 :
17
17
18
18
19
- v0.15.1 (unreleased )
19
+ v0.15.1 (23 Mar 2020 )
20
20
---------------------
21
21
22
+ This release brings many new features such as :py:meth: `Dataset.weighted ` methods for weighted array
23
+ reductions, a new jupyter repr by default, and the start of units integration with pint. There's also
24
+ the usual batch of usability improvements, documentation additions, and bug fixes.
25
+
22
26
Breaking changes
23
27
~~~~~~~~~~~~~~~~
24
28
@@ -34,6 +38,10 @@ New Features
34
38
- Weighted array reductions are now supported via the new :py:meth: `DataArray.weighted `
35
39
and :py:meth: `Dataset.weighted ` methods. See :ref: `comput.weighted `. (:issue: `422 `, :pull: `2922 `).
36
40
By `Mathias Hauser <https://github.com/mathause >`_
41
+ - The new jupyter notebook repr (``Dataset._repr_html_ `` and
42
+ ``DataArray._repr_html_ ``) (introduced in 0.14.1) is now on by default. To
43
+ disable, use ``xarray.set_options(display_style="text") ``.
44
+ By `Julia Signell <https://github.com/jsignell >`_.
37
45
- Added support for :py:class: `pandas.DatetimeIndex `-style rounding of
38
46
``cftime.datetime `` objects directly via a :py:class: `CFTimeIndex ` or via the
39
47
:py:class: `~core.accessor_dt.DatetimeAccessor `.
@@ -51,10 +59,6 @@ New Features
51
59
By `Maximilian Roos <https://github.com/max-sixty >`_
52
60
- :py:func: `map_blocks ` can now apply functions that add new unindexed dimensions.
53
61
By `Deepak Cherian <https://github.com/dcherian >`_
54
- - The new ``Dataset._repr_html_ `` and ``DataArray._repr_html_ `` (introduced
55
- in 0.14.1) is now on by default. To disable, use
56
- ``xarray.set_options(display_style="text") ``.
57
- By `Julia Signell <https://github.com/jsignell >`_.
58
62
- An ellipsis (``... ``) is now supported in the ``dims `` argument of
59
63
:py:meth: `Dataset.stack ` and :py:meth: `DataArray.stack `, meaning all
60
64
unlisted dimensions, similar to its meaning in :py:meth: `DataArray.transpose `.
@@ -63,13 +67,14 @@ New Features
63
67
- :py:meth: `Dataset.where ` and :py:meth: `DataArray.where ` accept a lambda as a
64
68
first argument, which is then called on the input; replicating pandas' behavior.
65
69
By `Maximilian Roos <https://github.com/max-sixty >`_.
66
- - Implement ``skipna `` in :py:meth: `Dataset.quantile `, :py:meth: `DataArray.quantile `,
70
+ - ``skipna `` is available in :py:meth: `Dataset.quantile `, :py:meth: `DataArray.quantile `,
67
71
:py:meth: `core.groupby.DatasetGroupBy.quantile `, :py:meth: `core.groupby.DataArrayGroupBy.quantile `
68
72
(:issue: `3843 `, :pull: `3844 `)
69
73
By `Aaron Spring <https://github.com/aaronspring >`_.
70
74
71
75
Bug fixes
72
76
~~~~~~~~~
77
+
73
78
- Fix :py:meth: `Dataset.interp ` when indexing array shares coordinates with the
74
79
indexed variable (:issue: `3252 `).
75
80
By `David Huard <https://github.com/huard >`_.
@@ -107,6 +112,7 @@ Bug fixes
107
112
108
113
Documentation
109
114
~~~~~~~~~~~~~
115
+
110
116
- Fix documentation of :py:class: `DataArray ` removing the deprecated mention
111
117
that when omitted, `dims ` are inferred from a `coords `-dict. (:pull: `3821 `)
112
118
By `Sander van Rijn <https://github.com/sjvrijn >`_.
@@ -119,25 +125,25 @@ Documentation
119
125
Internal Changes
120
126
~~~~~~~~~~~~~~~~
121
127
122
- - Removed the internal ``import_seaborn `` function which handled the deprecation of
128
+ - Remove the internal ``import_seaborn `` function which handled the deprecation of
123
129
the ``seaborn.apionly `` entry point (:issue: `3747 `).
124
130
By `Mathias Hauser <https://github.com/mathause >`_.
125
131
- Don't test pint integration in combination with datetime objects. (:issue: `3778 `, :pull: `3788 `)
126
132
By `Justus Magin <https://github.com/keewis >`_.
127
- - Changed test_open_mfdataset_list_attr to only run with dask installed
133
+ - Change test_open_mfdataset_list_attr to only run with dask installed
128
134
(:issue: `3777 `, :pull: `3780 `).
129
135
By `Bruno Pagani <https://github.com/ArchangeGabriel >`_.
130
- - Preserved the ability to index with ``method="nearest" `` with a
136
+ - Preserve the ability to index with ``method="nearest" `` with a
131
137
:py:class: `CFTimeIndex ` with pandas versions greater than 1.0.1
132
138
(:issue: `3751 `). By `Spencer Clark <https://github.com/spencerkclark >`_.
133
139
- Greater flexibility and improved test coverage of subtracting various types
134
140
of objects from a :py:class: `CFTimeIndex `. By `Spencer Clark
135
141
<https://github.com/spencerkclark> `_.
136
- - Updated Azure CI MacOS image, given pending removal.
142
+ - Update Azure CI MacOS image, given pending removal.
137
143
By `Maximilian Roos <https://github.com/max-sixty >`_
138
- - Removed xfails for scipy 1.0.1 for tests that append to netCDF files (:pull: `3805 `).
144
+ - Remove xfails for scipy 1.0.1 for tests that append to netCDF files (:pull: `3805 `).
139
145
By `Mathias Hauser <https://github.com/mathause >`_.
140
- - Removed conversion to :py:class: `pandas.Panel `, given its removal in pandas
146
+ - Remove conversion to :py:class: `pandas.Panel `, given its removal in pandas
141
147
in favor of xarray's objects.
142
148
By `Maximilian Roos <https://github.com/max-sixty >`_
143
149
0 commit comments