Skip to content

Commit 7e64ac7

Browse files
committed
Also explicitly set nan keyword here
1 parent fa84c5d commit 7e64ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fundamentals/03.1_computation_with_xarray.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
"metadata": {},
168168
"outputs": [],
169169
"source": [
170-
"xr.apply_ufunc(np.nan_to_num, ds.sst, 0)"
170+
"xr.apply_ufunc(np.nan_to_num, ds.sst, kwargs={\"nan\": 0})"
171171
]
172172
},
173173
{

0 commit comments

Comments
 (0)