MCPcopy Index your code
hub / github.com/pydata/xarray / ndim

Method ndim

xarray/core/dataarray.py:759–767  ·  view source on GitHub ↗

Number of array dimensions. See Also -------- numpy.ndarray.ndim

(self)

Source from the content-addressed store, hash-verified

757
758 @property
759 def ndim(self) -> int:
760 """
761 Number of array dimensions.
762
763 See Also
764 --------
765 numpy.ndarray.ndim
766 """
767 return self.variable.ndim
768
769 def __len__(self) -> int:
770 return len(self.variable)

Callers 4

decodeMethod · 0.45
ndimFunction · 0.45
_wrap_numpy_scalarsFunction · 0.45
iselMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected