Skip to content

Commit 0e3fcfd

Browse files
committed
make sure Series isnt hashable
1 parent 48cd163 commit 0e3fcfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ class Series(base.IndexOpsMixin, generic.NDFrame):
272272
hasnans = property( # type: ignore[assignment]
273273
base.IndexOpsMixin.hasnans.func, doc=base.IndexOpsMixin.hasnans.__doc__
274274
)
275-
__hash__ = generic.NDFrame.__hash__
276275
_mgr: SingleManager
277276
div: Callable[[Series, Any], Series]
278277
rdiv: Callable[[Series, Any], Series]
@@ -911,6 +910,7 @@ def __getitem__(self, key):
911910
elif key_is_scalar:
912911
return self._get_value(key)
913912

913+
breakpoint()
914914
if is_hashable(key):
915915
# Otherwise index.get_value will raise InvalidIndexError
916916
try:

0 commit comments

Comments
 (0)