We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a53545e commit f501fdaCopy full SHA for f501fda
pandas/core/indexes/interval.py
@@ -460,17 +460,6 @@ def __reduce__(self):
460
d.update(self._get_attributes_dict())
461
return _new_IntervalIndex, (type(self), d), None
462
463
- @Appender(_index_shared_docs["copy"])
464
- def copy(self, deep=False, name=None):
465
- array = self._data
466
- if deep:
467
- array = array.copy()
468
- attributes = self._get_attributes_dict()
469
- if name is not None:
470
- attributes.update(name=name)
471
-
472
- return self._simple_new(array, **attributes)
473
474
@Appender(_index_shared_docs["astype"])
475
def astype(self, dtype, copy=True):
476
with rewrite_exception("IntervalArray", type(self).__name__):
0 commit comments