Skip to content

Commit 7234104

Browse files
authored
DOC: Clarify deprecation warning for iloc (#60745)
api-doc rewrite deprecation warning iloc
1 parent 297a19e commit 7234104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def iloc(self) -> _iLocIndexer:
160160
161161
.. versionchanged:: 3.0
162162
163-
Returning a tuple from a callable is deprecated.
163+
Callables which return a tuple are deprecated as input.
164164
165165
``.iloc[]`` is primarily integer position based (from ``0`` to
166166
``length-1`` of the axis), but may also be used with a boolean

0 commit comments

Comments
 (0)