File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,9 @@ or overwrite the default registry:
111
111
To properly work with ``xarray ``, the ``force_ndarray_like `` or
112
112
``force_ndarray `` options have to be enabled on the custom registry.
113
113
114
+ Without it, python scalars wrapped by :py:class: `pint.Quantity ` may raise errors or
115
+ have their units stripped.
116
+
114
117
Saving with units
115
118
-----------------
116
119
In order to not lose the units when saving to disk, we first have to call the
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ What's new
5
5
------------------
6
6
- rewrite :py:meth: `Dataset.pint.quantify ` and :py:meth: `DataArray.pint.quantify `,
7
7
to use pint's `parse_units ` instead of `parse_expression ` (:pull: `40 `)
8
- - refactor the internal conversion functions (:pull: ``)
8
+ - refactor the internal conversion functions (:pull: `56 `)
9
+ - allow converting indexes (except :py:class: `pandas.MultiIndex `) (:pull: `56 `)
10
+ - document the reason for requiring the ``force_ndarray_like `` or ``force_ndarray ``
11
+ options on unit registries (:pull: `59 `)
9
12
10
13
v0.1 (October 26 2020)
11
14
----------------------
You can’t perform that action at this time.
0 commit comments