Skip to content

Deprecate passing default args as positional in DataFrame.set_index #41495

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
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/master' into deprecate-nonkeyw…
…ord-args-replace
  • Loading branch information
MarcoGorelli committed May 19, 2021
commit f85d72c69cbfb995bf766387f34fb67f8cc56183
5 changes: 4 additions & 1 deletion doc/source/whatsnew/v1.3.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,10 @@ Deprecations
- Deprecated setting :attr:`Categorical._codes`, create a new :class:`Categorical` with the desired codes instead (:issue:`40606`)
- Deprecated behavior of :meth:`DatetimeIndex.union` with mixed timezones; in a future version both will be cast to UTC instead of object dtype (:issue:`39328`)
- Deprecated using ``usecols`` with out of bounds indices for ``read_csv`` with ``engine="c"`` (:issue:`25623`)
- Deprecated passing arguments (apart from ``keys``) as positional in :meth:`DataFrame.set_index` (:issue:`41485`)
- Deprecated passing arguments as positional in (:issue:`41485`) :
- :meth:`DataFrame.interpolate` (other than ``"method"``) and :meth:`Series.interpolate`
- :meth:`DataFrame.sort_values` (other than ``"by"``) and :meth:`Series.sort_values`
- :meth:`DataFrame.set_index` (other than ``"keys"``)

.. ---------------------------------------------------------------------------

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.