Skip to content

Commit 95a9503

Browse files
committed
Change docstring and move the entry in whatsnew
1 parent b3a6093 commit 95a9503

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/source/whatsnew/v0.25.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ Other Enhancements
4040
- :meth:`DataFrame.query` and :meth:`DataFrame.eval` now supports quoting column names with backticks to refer to names with spaces (:issue:`6508`)
4141
- :func:`merge_asof` now gives a more clear error message when merge keys are categoricals that are not equal (:issue:`26136`)
4242
- :meth:`pandas.core.window.Rolling` supports exponential (or Poisson) window type (:issue:`21303`)
43-
- :meth:`ExtensionArray.argsort` places the nan at the end of the sorted array (:issue:`21801`)
4443

4544
.. _whatsnew_0250.api_breaking:
4645

@@ -218,6 +217,7 @@ Other API Changes
218217
- Comparing :class:`Timestamp` with unsupported objects now returns :py:obj:`NotImplemented` instead of raising ``TypeError``. This implies that unsupported rich comparisons are delegated to the other object, and are now consistent with Python 3 behavior for ``datetime`` objects (:issue:`24011`)
219218
- Bug in :meth:`DatetimeIndex.snap` which didn't preserving the ``name`` of the input :class:`Index` (:issue:`25575`)
220219
- The ``arg`` argument in :meth:`pandas.core.groupby.DataFrameGroupBy.agg` has been renamed to ``func`` (:issue:`26089`)
220+
- :meth:`ExtensionArray.argsort` places the nan at the end of the sorted array (:issue:`21801`)
221221

222222
.. _whatsnew_0250.deprecations:
223223

pandas/core/arrays/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def _values_for_argsort(self) -> Tuple[np.ndarray, np.ndarray]:
371371
The transformed values should maintain the ordering between values
372372
within the array.
373373
ndarray
374-
The mask which indicates the NaN values.
374+
The mask which indicates the NA values.
375375
376376
See Also
377377
--------

pandas/core/arrays/integer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def _values_for_argsort(self) -> Tuple[np.ndarray, np.ndarray]:
518518
The transformed values should maintain the ordering between values
519519
within the array.
520520
ndarray
521-
The mask which indicates the NaN values.
521+
The mask which indicates the NA values.
522522
523523
See Also
524524
--------

0 commit comments

Comments
 (0)