Skip to content

Commit 4a976e5

Browse files
committed
fix merge
1 parent 2b8c313 commit 4a976e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/whatsnew/v1.5.0.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,10 @@ Deprecations
272272

273273
.. _whatsnew_150.deprecations.int_slicing_series:
274274

275-
In a future version, integer slicing on a :class:`Series` with a :class:`Int64Index` or :class:`RangeIndex` will be treated as *label-based*, not positional. This will make the behavior consisent with other :meth:`Series.__getitem__` and :meth:`Series.__setitem__` behaviors (:issue:`45162`).
275+
In a future version, integer slicing on a :class:`Series` with a :class:`Int64Index` or :class:`RangeIndex` will be treated as *label-based*, not positional. This will make the behavior consistent with other :meth:`Series.__getitem__` and :meth:`Series.__setitem__` behaviors (:issue:`45162`).
276276

277277
For example:
278-
t
278+
279279
.. ipython:: python
280280
281281
ser = pd.Series([1, 2, 3, 4, 5], index=[2, 3, 5, 7, 11])

0 commit comments

Comments
 (0)