Skip to content

Commit 6aa311d

Browse files
authored
DOC: Improve Index docstrings (#36239)
1 parent 1003a5c commit 6aa311d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/indexes/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def _new_Index(cls, d):
195195

196196
class Index(IndexOpsMixin, PandasObject):
197197
"""
198-
Immutable ndarray implementing an ordered, sliceable set. The basic object
198+
Immutable sequence used for indexing and alignment. The basic object
199199
storing axis labels for all pandas objects.
200200
201201
Parameters

pandas/core/indexes/numeric.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def _union(self, other, sort):
189189
_num_index_shared_docs[
190190
"class_descr"
191191
] = """
192-
Immutable ndarray implementing an ordered, sliceable set. The basic object
192+
Immutable sequence used for indexing and alignment. The basic object
193193
storing axis labels for all pandas objects. %(klass)s is a special case
194194
of `Index` with purely %(ltype)s labels. %(extra)s.
195195

0 commit comments

Comments
 (0)