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

Method ndim

dask/dataframe/dask_expr/_expr.py:86–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

84
85 @functools.cached_property
86 def ndim(self):
87 meta = self._meta
88 try:
89 return meta.ndim
90 except AttributeError:
91 return 0
92
93 def __dask_keys__(self):
94 return [(self._name, i) for i in range(self.npartitions)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected