Skip to content

Commit

Permalink
Also explicitly set nan keyword here
Browse files Browse the repository at this point in the history
  • Loading branch information
tien-vo committed Oct 10, 2024
1 parent fa84c5d commit 7e64ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fundamentals/03.1_computation_with_xarray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
"metadata": {},
"outputs": [],
"source": [
"xr.apply_ufunc(np.nan_to_num, ds.sst, 0)"
"xr.apply_ufunc(np.nan_to_num, ds.sst, kwargs={\"nan\": 0})"
]
},
{
Expand Down

0 comments on commit 7e64ac7

Please sign in to comment.