Skip to content

Commit 8f4ad30

Browse files
xpvpcjreback
authored andcommitted
DOC: doc/source/indexing.rst says pd.df.ix is deprecated, show warning in generated doc. (#19596)
1 parent 36f9052 commit 8f4ad30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/core/indexing.py

+3
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,9 @@ class _IXIndexer(_NDFrameIndexer):
13001300
"""A primarily label-location based indexer, with integer position
13011301
fallback.
13021302
1303+
Warning: Starting in 0.20.0, the .ix indexer is deprecated, in
1304+
favor of the more strict .iloc and .loc indexers.
1305+
13031306
``.ix[]`` supports mixed integer and label based access. It is
13041307
primarily label based, but will fall back to integer positional
13051308
access unless the corresponding axis is of integer type.

0 commit comments

Comments
 (0)