You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEPR: Remove method and tolerance in Index.get_loc, bump xarray (pandas-dev#49630)
* DEPR: Remove method and tolerance in Index.get_loc
* note xarray bump
* Fix tests
* Fix refactor in period
* Lighter parameterization
* xfail xarray test
* Just use get_indexer
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v2.0.0.rst
+3
Original file line number
Diff line number
Diff line change
@@ -339,6 +339,8 @@ Optional libraries below the lowest tested version may still work, but are not c
339
339
+-----------------+-----------------+---------+
340
340
| fastparquet | 0.6.3 | X |
341
341
+-----------------+-----------------+---------+
342
+
| xarray | 0.21.0 | X |
343
+
+-----------------+-----------------+---------+
342
344
343
345
See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for more.
344
346
@@ -521,6 +523,7 @@ Removal of prior version deprecations/changes
521
523
- Removed the ``closed`` argument in :meth:`date_range` and :meth:`bdate_range` in favor of ``inclusive`` argument (:issue:`40245`)
522
524
- Removed the ``center`` keyword in :meth:`DataFrame.expanding` (:issue:`20647`)
523
525
- Removed the ``truediv`` keyword from :func:`eval` (:issue:`29812`)
526
+
- Removed the ``method`` and ``tolerance`` arguments in :meth:`Index.get_loc`. Use ``index.get_indexer([label], method=..., tolerance=...)`` instead (:issue:`42269`)
524
527
- Removed the ``pandas.datetime`` submodule (:issue:`30489`)
525
528
- Removed the ``pandas.np`` submodule (:issue:`30296`)
526
529
- Removed ``pandas.util.testing`` in favor of ``pandas.testing`` (:issue:`30745`)
0 commit comments