Skip to content

Commit

Permalink
Use keyword argument for nan=0
Browse files Browse the repository at this point in the history
  • Loading branch information
tien-vo committed Oct 10, 2024
1 parent 2ce8afb commit fa84c5d
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 @@ -149,7 +149,7 @@
},
"outputs": [],
"source": [
"np.nan_to_num(ds.sst, 0)"
"np.nan_to_num(ds.sst, nan=0)"
]
},
{
Expand Down

0 comments on commit fa84c5d

Please sign in to comment.