Skip to content

Commit 8a0553f

Browse files
topper-123jreback
authored andcommitted
hide Index.get_values in docs and IPython tab completion (#28772)
1 parent b53b899 commit 8a0553f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class Index(IndexOpsMixin, PandasObject):
206206

207207
# tolist is not actually deprecated, just suppressed in the __dir__
208208
_deprecations = DirNamesMixin._deprecations | frozenset(
209-
["tolist", "dtype_str", "set_value"]
209+
["tolist", "dtype_str", "get_values", "set_value"]
210210
)
211211

212212
# To hand over control to subclasses

0 commit comments

Comments
 (0)