Skip to content

Commit 0f11b7b

Browse files
committed
update docstring running result; reformat code; update what's new
1 parent b3b43bc commit 0f11b7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/whatsnew/v1.5.0.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,10 @@ Deprecations
252252

253253
.. _whatsnew_150.deprecations.int_slicing_series:
254254

255-
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`).
255+
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`).
256256

257257
For example:
258-
t
258+
259259
.. ipython:: python
260260
261261
ser = pd.Series([1, 2, 3, 4, 5], index=[2, 3, 5, 7, 11])

0 commit comments

Comments
 (0)