Skip to content

Commit 0cefb74

Browse files
topper-123proost
authored andcommitted
hide Index.get_values in docs and IPython tab completion (pandas-dev#28772)
1 parent b914bf0 commit 0cefb74

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)