You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/computation.rst
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,9 +164,8 @@ Note that rolling window aggregations are faster when bottleneck_ is installed.
164
164
165
165
We can also manually iterate through ``Rolling`` objects:
166
166
167
-
.. ipython:: python
167
+
.. code:: python
168
168
169
-
@verbatim
170
169
for label, arr_window in r:
171
170
# arr_window is a view of x
172
171
@@ -298,9 +297,9 @@ operations. The default result of a binary operation is by the *intersection*
298
297
If coordinate values for a dimension are missing on either argument, all
299
298
matching dimensions must have the same size:
300
299
301
-
.. ipython:: python
300
+
.. ipython::
301
+
:verbatim:
302
302
303
-
@verbatim
304
303
In [1]: arr + xr.DataArray([1, 2], dims='x')
305
304
ValueError: arguments without labels along dimension 'x' cannot be aligned because they have different dimension size(s) {2} than the size of the aligned dimension labels: 3
0 commit comments