(array)
| 804 | |
| 805 | |
| 806 | def ndim(array) -> int: |
| 807 | # Required part of the duck array and the array-api, but we fall back in case |
| 808 | # https://docs.xarray.dev/en/latest/internals/duck-arrays-integration.html#duck-array-requirements |
| 809 | return array.ndim if hasattr(array, "ndim") else np.ndim(array) |
| 810 | |
| 811 | |
| 812 | def cumprod(array, axis=None, **kwargs): |
nothing calls this directly
no test coverage detected
searching dependent graphs…