Skip to content

Commit

Permalink
Finalize whats-new for 0.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
shoyer committed Jul 10, 2019
1 parent c768348 commit 96a337f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
2 changes: 2 additions & 0 deletions doc/reshaping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ pandas, it does not automatically drop missing values. Compare:
We departed from pandas's behavior here because predictable shapes for new
array dimensions is necessary for :ref:`dask`.

.. _reshape.stacking_different:

Stacking different variables together
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
20 changes: 12 additions & 8 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,26 @@ What's New
.. _whats-new.0.12.3:

v0.12.3 (unreleased)
--------------------
v0.12.3 (10 July 2019)
----------------------

New functions/methods
~~~~~~~~~~~~~~~~~~~~~

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

Enhancements
~~~~~~~~~~~~

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

- Add ``scales``, ``offsets``, ``units`` and ``descriptions``
Expand Down

0 comments on commit 96a337f

Please sign in to comment.