8000 DEPR: int slicing always positional by jbrockmendel · Pull Request #53338 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

DEPR: int slicing always positional #53338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Aug 4, 2023
Prev Previous commit
Next Next commit
Merge branch 'main' into api-slice
  • Loading branch information
jbrockmendel committed May 24, 2023
commit 27ba56acd0b4a97d1d9a5cb24bbae0c344cd28ad
1 change: 1 addition & 0 deletions doc/source/whatsnew/v2.1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ Deprecations
- Deprecated constructing :class:`SparseArray` from scalar data, pass a sequence instead (:issue:`53039`)
- 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`)
- Deprecated the behavior of :meth:`Series.__getitem__`, :meth:`Series.__setitem__`, :meth:`DataFrame.__getitem__`, :meth:`DataFrame.__setitem__` with an integer slice on objects with a floating-dtype index, in a future version this will be treated as *positional* indexing (:issue:`49612`)
-

.. ---------------------------------------------------------------------------
.. _whatsnew_210.performance:
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0