- Revamped coordinates: "coordinates" now refer to all arrays that are not
used to index a dimension. Coordinates are intended to allow for keeping track
of arrays of metadata that describe the grid on which the points in "variable"
arrays lie. They are preserved (when unambiguous) even though mathematical
- Dataset math
xray.Datasetobjects now support all arithmetic
operations directly. Dataset-array operations map across all dataset
variables; dataset-dataset operations act on each pair of variables with the
- GroupBy math: This provides a convenient shortcut for normalizing by the
average value of a group.
- The dataset
__repr__method has been entirely overhauled; dataset
objects now show their values when printed.
- You can now index a dataset with a list of variables to return a new dataset:
Backwards incompatible changes:
Dataset.__ne__are now element-wise operations
instead of comparing all values to obtain a single boolean. Use the method
Dataset.noncoordsis deprecated: use
Dataset.select_varsdeprecated: index a
Datasetwith a list of
variable names instead.