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
Copy file name to clipboardExpand all lines: doc/whats-new.rst
+5
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,11 @@ Deprecations
35
35
By `Tom Nicholas <https://github.com/TomNicholas>`_.
36
36
37
37
38
+
- Coercing a dataset to bool, e.g. ``bool(ds)``, is being deprecated and will raise an
39
+
error in a future version (not yet planned). For now, invoking ``Dataset.__bool__``
40
+
issues a ``PendingDeprecationWarning`` (:issue:`6124`, :pull:`6126`).
41
+
By `Michael Delgado <https://github.com/delgadom>`_.
42
+
38
43
Bug fixes
39
44
~~~~~~~~~
40
45
- Subclasses of ``byte`` and ``str`` (e.g. ``np.str_`` and ``np.bytes_``) will now serialise to disk rather than raising a ``ValueError: unsupported dtype for netCDF4 variable: object`` as they did previously (:pull:`5264`).
0 commit comments