You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
switch the documentation to run with numpy>=2 (#9177)
* `NaN` → `nan`
* new numpy scalar repr
* unpin `numpy` in the docs [skip-ci]
* try extracting the scalars to pass to `linspace`
* use `numpy` instead of `numpy.array_api` [skip-ci]
and mention that we're falling back to `numpy.array_api` in `numpy<2.0`
* Update ci/requirements/doc.yml
* Remove 2D cross product doctests
* One more fix
---------
Co-authored-by: Jessica Scheick <[email protected]>
Co-authored-by: Deepak Cherian <[email protected]>
Co-authored-by: Deepak Cherian <[email protected]>
Copy file name to clipboardExpand all lines: doc/getting-started-guide/faq.rst
+2-2
Original file line number
Diff line number
Diff line change
@@ -352,9 +352,9 @@ Some packages may have additional functionality beyond what is shown here. You c
352
352
How does xarray handle missing values?
353
353
--------------------------------------
354
354
355
-
**xarray can handle missing values using ``np.NaN``**
355
+
**xarray can handle missing values using ``np.nan``**
356
356
357
-
- ``np.NaN`` is used to represent missing values in labeled arrays and datasets. It is a commonly used standard for representing missing or undefined numerical data in scientific computing. ``np.NaN`` is a constant value in NumPy that represents "Not a Number" or missing values.
357
+
- ``np.nan`` is used to represent missing values in labeled arrays and datasets. It is a commonly used standard for representing missing or undefined numerical data in scientific computing. ``np.nan`` is a constant value in NumPy that represents "Not a Number" or missing values.
358
358
359
359
- Most of xarray's computation methods are designed to automatically handle missing values appropriately.
0 commit comments