From 7ca504db2e37d85aa6676c9d9e4843068afe2463 Mon Sep 17 00:00:00 2001 From: Terji Petersen Date: Wed, 1 Feb 2023 08:03:03 +0000 Subject: [PATCH] fix doc string error --- pandas/core/indexes/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 9105764100f2d..881e83313ced5 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -332,7 +332,7 @@ class Index(IndexOpsMixin, PandasObject): Index(['a', 'b', 'c'], dtype='object') >>> pd.Index([1, 2, 3], dtype="uint8") - NumericIndex([1, 2, 3], dtype='uint8') + Index([1, 2, 3], dtype='uint8') """ # To hand over control to subclasses