Return the cumulative product over the given axis. .. deprecated:: 1.25.0 ``cumproduct`` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `cumprod` instead. See Also -------- cumprod : equivalent function; see for details.
(*args, **kwargs)
| 3855 | |
| 3856 | @array_function_dispatch(_cumproduct_dispatcher, verify=False) |
| 3857 | def cumproduct(*args, **kwargs): |
| 3858 | """ |
| 3859 | Return the cumulative product over the given axis. |
| 3860 | |
| 3861 | .. deprecated:: 1.25.0 |
| 3862 | ``cumproduct`` is deprecated as of NumPy 1.25.0, and will be |
| 3863 | removed in NumPy 2.0. Please use `cumprod` instead. |
| 3864 | |
| 3865 | See Also |
| 3866 | -------- |
| 3867 | cumprod : equivalent function; see for details. |
| 3868 | """ |
| 3869 | return cumprod(*args, **kwargs) |
| 3870 | |
| 3871 | |
| 3872 | def _sometrue_dispatcher(a, axis=None, out=None, keepdims=None, *, |