Skip to content

Commit db24f14

Browse files
author
Holger Wolff
committed
minor modifications to apply-ufunc
1 parent 53f28e3 commit db24f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2023-12-12-apply-ufunc.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3233,7 +3233,7 @@
32333233
"source": [
32343234
"As you can see, with `vectorize=True`, the multidimensional array is sliced into subarrays arrays along the core dimension, in this case only the 1-d array along \"time\".\n",
32353235
"\n",
3236-
"Because we have 2 gridpoints, 2 along the longitude and 1 along the latitude, this means that the function is called 2 times.\n",
3236+
"Because we have 2 gridpoints, 2 along the longitude times 1 along the latitude, this means that the function is called 2 times.\n",
32373237
"\n",
32383238
"On the other hand, with `vectorize=False`, the whole array is passed to the the function in one go, with the core dimension moved to the last index. \n",
32393239
"(See the 5 at the end of the shape, when in the data array it's the first value in the shape?)\n",

0 commit comments

Comments
 (0)