Skip to content

Commit a854393

Browse files
committed
Link to docs in whatsnew entry
1 parent d57a3f0 commit a854393

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v2.1.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Deprecations
298298
- Deprecated parameter ``obj`` in :meth:`GroupBy.get_group` (:issue:`53545`)
299299
- Deprecated positional indexing on :class:`Series` with :meth:`Series.__getitem__` and :meth:`Series.__setitem__`, in a future version ``ser[item]`` will *always* interpret ``item`` as a label, not a position (:issue:`50617`)
300300
- Deprecated strings ``T``, ``t``, ``L`` and ``l`` denoting units in :func:`to_timedelta` (:issue:`52536`)
301-
- Deprecated support for returning a tuple from a callable in ``iloc``-indexing. Place callables inside a tuple if you need to generate row and column indices using functions (:issue:`53533`)
301+
- Deprecated support for returning a tuple from a callable in ``iloc``-indexing. See :ref:`Selection by Position <indexing.integer>` for details (:issue:`53533`)
302302
- Deprecated the "method" and "limit" keywords on :meth:`Series.fillna`, :meth:`DataFrame.fillna`, :meth:`SeriesGroupBy.fillna`, :meth:`DataFrameGroupBy.fillna`, and :meth:`Resampler.fillna`, use ``obj.bfill()`` or ``obj.ffill()`` instead (:issue:`53394`)
303303
- Deprecated the ``method`` and ``limit`` keywords in :meth:`DataFrame.replace` and :meth:`Series.replace` (:issue:`33302`)
304304
- Deprecated values "pad", "ffill", "bfill", "backfill" for :meth:`Series.interpolate` and :meth:`DataFrame.interpolate`, use ``obj.ffill()`` or ``obj.bfill()`` instead (:issue:`53581`)

pandas/tests/frame/indexing/test_indexing.py

+1
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,7 @@ def test_single_element_ix_dont_upcast(self, float_frame):
10011001
tm.assert_series_equal(result, expected)
10021002

10031003
def test_iloc_callable_tuple_return_value(self):
1004+
# GH53769
10041005
df = DataFrame(np.random.randn(10, 4), index=range(0, 20, 2))
10051006
msg = "callable in iLocation indexing is deprecated"
10061007
with tm.assert_produces_warning(FutureWarning, match=msg):

0 commit comments

Comments
 (0)