We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c15ca51 commit 9f188edCopy full SHA for 9f188ed
pandas/core/base.py
@@ -609,7 +609,7 @@ class IndexOpsMixin:
609
610
@property
611
def _values(self) -> Union[ExtensionArray, np.ndarray]:
612
- # must e defined here as a property for mypy
+ # must be defined here as a property for mypy
613
raise AbstractMethodError(self)
614
615
def transpose(self, *args, **kwargs):
@@ -639,7 +639,7 @@ def shape(self):
639
640
def __len__(self) -> int:
641
# We need this defined here for mypy
642
- return len(self._values)
+ raise AbstractMethodError(self)
643
644
645
def ndim(self) -> int:
0 commit comments