Skip to content

Commit fa84c5d

Browse files
committed
Use keyword argument for nan=0
1 parent 2ce8afb commit fa84c5d

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
@@ -149,7 +149,7 @@
149149
},
150150
"outputs": [],
151151
"source": [
152-
"np.nan_to_num(ds.sst, 0)"
152+
"np.nan_to_num(ds.sst, nan=0)"
153153
]
154154
},
155155
{

0 commit comments

Comments
 (0)