Return the cumulative product of the elements along the given axis. Refer to :func:`dask.array.cumprod` for full documentation. See Also -------- dask.array.cumprod : equivalent function
(self, axis, dtype=None, out=None, *, method="sequential")
| 2768 | return cumsum(self, axis, dtype, out=out, method=method) |
| 2769 | |
| 2770 | def cumprod(self, axis, dtype=None, out=None, *, method="sequential"): |
| 2771 | """Return the cumulative product of the elements along the given axis. |
| 2772 | |
| 2773 | Refer to :func:`dask.array.cumprod` for full documentation. |
| 2774 | |
| 2775 | See Also |
| 2776 | -------- |
| 2777 | dask.array.cumprod : equivalent function |
| 2778 | """ |
| 2779 | from dask.array.reductions import cumprod |
| 2780 | |
| 2781 | return cumprod(self, axis, dtype, out=out, method=method) |
| 2782 | |
| 2783 | def squeeze(self, axis=None): |
| 2784 | """Remove axes of length one from array. |