MCPcopy
hub / github.com/pandas-dev/pandas / shape

Method shape

pandas/core/generic.py:615–619  ·  view source on GitHub ↗

Return a tuple of axis dimensions

(self)

Source from the content-addressed store, hash-verified

613
614 @property
615 def shape(self) -> tuple[int, ...]:
616 """
617 Return a tuple of axis dimensions
618 """
619 return tuple(len(self._get_axis(a)) for a in self._AXIS_ORDERS)
620
621 @property
622 def axes(self) -> list[Index]:

Callers

nothing calls this directly

Calls 1

_get_axisMethod · 0.95

Tested by

no test coverage detected