@@ -246,13 +246,15 @@ removed member migration guideline
246
246
add_docstring It's still available as ``np.lib.add_docstring ``.
247
247
add_newdoc It's still available as ``np.lib.add_newdoc ``.
248
248
add_newdoc_ufunc It's an internal function and doesn't have a replacement.
249
+ alltrue Use ``all `` instead.
249
250
asfarray Use ``np.asarray `` with a float dtype instead.
250
251
byte_bounds Now it's available under ``np.lib.array_utils.byte_bounds ``
251
252
cast Use ``np.asarray(arr, dtype=dtype) `` instead.
252
253
cfloat Use ``np.complex128 `` instead.
253
254
clongfloat Use ``np.clongdouble `` instead.
254
255
compat There's no replacement, as Python 2 is no longer supported.
255
256
complex\_ Use ``np.complex128 `` instead.
257
+ cumproduct Use ``np.cumprod `` instead.
256
258
DataSource It's still available as ``np.lib.npyio.DataSource ``.
257
259
deprecate Emit ``DeprecationWarning `` with ``warnings.warn `` directly,
258
260
or use ``typing.deprecated ``.
@@ -286,6 +288,7 @@ longfloat Use ``np.longdouble`` instead.
286
288
lookfor Search NumPy's documentation directly.
287
289
obj2sctype Use ``np.dtype(obj).type `` instead.
288
290
PINF Use ``np.inf `` instead.
291
+ product Use ``np.prod `` instead.
289
292
PZERO Use ``0.0 `` instead.
290
293
recfromcsv Use ``np.genfromtxt `` with comma delimiter instead.
291
294
recfromtxt Use ``np.genfromtxt `` instead.
@@ -301,6 +304,7 @@ set_string_function Use ``np.set_printoptions`` instead with a formatter
301
304
for custom printing of NumPy objects.
302
305
singlecomplex Use ``np.complex64 `` instead.
303
306
string\_ Use ``np.bytes_ `` instead.
307
+ sometrue Use ``any `` instead.
304
308
source Use ``inspect.getsource `` instead.
305
309
tracemalloc_domain It's now available from ``np.lib ``.
306
310
unicode\_ Use ``np.str_ `` instead.
0 commit comments