MCPcopy Create free account
hub / github.com/dask/dask / size

Method size

dask/array/core.py:1657–1659  ·  view source on GitHub ↗

Number of elements in array

(self)

Source from the content-addressed store, hash-verified

1655
1656 @cached_property
1657 def size(self) -> T_IntOrNaN:
1658 """Number of elements in array"""
1659 return reduce(mul, self.shape, 1)
1660
1661 @property
1662 def nbytes(self) -> T_IntOrNaN:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected