File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff 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
134134array dimensions is necessary for :ref: `dask `.
135135
136+ .. _reshape.stacking_different :
137+
136138Stacking different variables together
137139~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138140
Original file line number Diff line number Diff 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
2121New 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
2732Enhancements
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 ``
You can’t perform that action at this time.
0 commit comments