We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e63e359 commit ba8c19cCopy full SHA for ba8c19c
docs/using/methods.rst
@@ -91,8 +91,15 @@ statistics:
91
}
92
93
Each entry is a NumPy vector with the same length as the number of
94
- variables. Use the ``name_to_index`` attribute to map variable names
95
- to indices.
+ variables, each element corresponding to a variable. You can
+ therefore use it like:
96
+
97
+ .. code:: python
98
99
+ values = ds[0]
100
+ normalized = (values - dataset.statistics["mean"]) / dataset.statistics["stdev"])
101
102
+ Use the ``name_to_index`` attribute to map variable names to indices.
103
104
resolution:
105
The dataset's resolution.
0 commit comments