Skip to content

Commit 9f188ed

Browse files
committed
suggested edits
1 parent c15ca51 commit 9f188ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ class IndexOpsMixin:
609609

610610
@property
611611
def _values(self) -> Union[ExtensionArray, np.ndarray]:
612-
# must e defined here as a property for mypy
612+
# must be defined here as a property for mypy
613613
raise AbstractMethodError(self)
614614

615615
def transpose(self, *args, **kwargs):
@@ -639,7 +639,7 @@ def shape(self):
639639

640640
def __len__(self) -> int:
641641
# We need this defined here for mypy
642-
return len(self._values)
642+
raise AbstractMethodError(self)
643643

644644
@property
645645
def ndim(self) -> int:

0 commit comments

Comments
 (0)