Skip to content

Commit 96a337f

Browse files
committed
Finalize whats-new for 0.12.3
1 parent c768348 commit 96a337f

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

doc/reshaping.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ pandas, it does not automatically drop missing values. Compare:
133133
We departed from pandas's behavior here because predictable shapes for new
134134
array dimensions is necessary for :ref:`dask`.
135135

136+
.. _reshape.stacking_different:
137+
136138
Stacking different variables together
137139
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138140

doc/whats-new.rst

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,26 @@ What's New
1515
1616
.. _whats-new.0.12.3:
1717

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

2121
New functions/methods
2222
~~~~~~~~~~~~~~~~~~~~~
2323

24-
- New methods for reshaping Datasets of variables with different dimensions
25-
(:issue:`1317`). By `Noah Brenowitz <https://github.com/nbren12>`_.
24+
- New methods :py:meth:`Dataset.to_stacked_array` and
25+
:py:meth:`DataArray.to_unstacked_dataset` for reshaping Datasets of variables
26+
with different dimensions
27+
(:issue:`1317`).
28+
This is useful for feeding data from xarray into machine learning models,
29+
as described in :ref:`reshape.stacking_different`.
30+
By `Noah Brenowitz <https://github.com/nbren12>`_.
2631

2732
Enhancements
2833
~~~~~~~~~~~~
2934

30-
- Renaming variables and dimensions independently:
31-
Datasets with coordinate dimensions can now have only their dimension
32-
(using rename_dim) or only their coordinate (using rename_vars) renamed
33-
instead of the rename function applying to both. (:issue:`3026`)
35+
- Support for renaming ``Dataset`` variables and dimensions independently
36+
with :py:meth:`~Dataset.rename_vars` and :py:meth:`~Dataset.rename_dims`
37+
(:issue:`3026`).
3438
By `Julia Kent <https://github.com/jukent>`_.
3539

3640
- Add ``scales``, ``offsets``, ``units`` and ``descriptions``

0 commit comments

Comments
 (0)