Skip to content

Commit 5b72795

Browse files
committedSep 17, 2019
Release v0.13.0
1 parent 9fbe353 commit 5b72795

File tree

2 files changed

+27
-20
lines changed

2 files changed

+27
-20
lines changed
 

‎doc/api.rst

+1
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ Plotting
610610

611611
Dataset.plot
612612
DataArray.plot
613+
Dataset.plot.scatter
613614
plot.plot
614615
plot.contourf
615616
plot.contour

‎doc/whats-new.rst

+26-20
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,20 @@ What's New
1515
1616
.. _whats-new.0.13.0:
1717

18-
v0.13.0 (unreleased)
19-
--------------------
18+
v0.13.0 (10 July 2019)
19+
----------------------
2020

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!
2326

2427
Breaking changes
2528
~~~~~~~~~~~~~~~~
2629

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>`_.
2732
- The ``isel_points`` and ``sel_points`` methods are removed, having been deprecated
2833
since v0.10.0. These are redundant with the ``isel`` / ``sel`` methods.
2934
See :ref:`vectorized_indexing` for the details
@@ -54,16 +59,16 @@ Breaking changes
5459
error in a later release.
5560

5661
(: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
5964
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
6166
positional arguments were deprecated)
6267
- Reindexing with variables of a different dimension now raise an error (previously deprecated)
6368
- :py:func:`~xarray.broadcast_array` is removed (previously deprecated in favor of
6469
: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`)
6772

6873
New functions/methods
6974
~~~~~~~~~~~~~~~~~~~~~
@@ -102,13 +107,15 @@ New functions/methods
102107
Currently only :py:meth:`Dataset.plot.scatter` is implemented.
103108
By `Yohai Bar Sinai <https://github.com/yohai>`_ and `Deepak Cherian <https://github.com/dcherian>`_
104109

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>`_.
107113

108114
Enhancements
109115
~~~~~~~~~~~~
110116

111117
- Multiple enhancements to :py:func:`~xarray.concat` and :py:func:`~xarray.open_mfdataset`.
118+
By `Deepak Cherian <https://github.com/dcherian>`_
112119

113120
- Added ``compat='override'``. When merging, this option picks the variable from the first dataset
114121
and skips all comparisons.
@@ -131,8 +138,6 @@ Enhancements
131138
data = xr.open_mfdataset(files, concat_dim='time', data_vars='minimal',
132139
coords='minimal', compat='override', join='override')
133140

134-
By `Deepak Cherian <https://github.com/dcherian>`_:
135-
136141
- In :py:meth:`~xarray.Dataset.to_zarr`, passing ``mode`` is not mandatory if
137142
``append_dim`` is set, as it will automatically be set to ``'a'`` internally.
138143
By `David Brochart <https://github.com/davidbrochart>`_.
@@ -156,7 +161,8 @@ Enhancements
156161
when the user passes invalid arguments (:issue:`3176`).
157162
By `Gregory Gundersen <https://github.com/gwgundersen>`_.
158163

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>`_.
160166

161167
Bug fixes
162168
~~~~~~~~~
@@ -195,9 +201,7 @@ Bug fixes
195201
- Plots in 2 dimensions (pcolormesh, contour) now allow to specify levels as numpy
196202
array (:issue:`3284`). By `Mathias Hauser <https://github.com/mathause>`_.
197203
- 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>`_.
201205

202206
Documentation
203207
~~~~~~~~~~~~~
@@ -210,6 +214,8 @@ Documentation
210214
(:issue:`3227`).
211215
By `Gregory Gundersen <https://github.com/gwgundersen/>`_.
212216

217+
.. _whats-new.0.12.3:
218+
213219
v0.12.3 (10 July 2019)
214220
----------------------
215221

@@ -224,14 +230,14 @@ New functions/methods
224230
as described in :ref:`reshape.stacking_different`.
225231
By `Noah Brenowitz <https://github.com/nbren12>`_.
226232

233+
Enhancements
234+
~~~~~~~~~~~~
235+
227236
- Support for renaming ``Dataset`` variables and dimensions independently
228237
with :py:meth:`~Dataset.rename_vars` and :py:meth:`~Dataset.rename_dims`
229238
(:issue:`3026`).
230239
By `Julia Kent <https://github.com/jukent>`_.
231240

232-
Enhancements
233-
~~~~~~~~~~~~
234-
235241
- Add ``scales``, ``offsets``, ``units`` and ``descriptions``
236242
attributes to :py:class:`~xarray.DataArray` returned by
237243
:py:func:`~xarray.open_rasterio`. (:issue:`3013`)

0 commit comments

Comments
 (0)
Please sign in to comment.