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

Method _get_repr_footer

pandas/core/arrays/base.py:2080–2084  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2078 return f"{class_name}{data}\n{footer}"
2079
2080 def _get_repr_footer(self) -> str:
2081 # GH#24278
2082 if self.ndim > 1:
2083 return f"Shape: {self.shape}, dtype: {self.dtype}"
2084 return f"Length: {len(self)}, dtype: {self.dtype}"
2085
2086 def _repr_2d(self) -> str:
2087 from pandas.io.formats.printing import format_object_summary

Callers 3

__repr__Method · 0.95
_repr_2dMethod · 0.95
_get_footerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected