Skip to content

Commit ef390fc

Browse files
committed
Updates: misc
* whatsnew * docstrings
1 parent 5c253a4 commit ef390fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/source/whatsnew/v0.24.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ Datetimelike
11971197
- Bug in rounding methods of :class:`DatetimeIndex` (:meth:`~DatetimeIndex.round`, :meth:`~DatetimeIndex.ceil`, :meth:`~DatetimeIndex.floor`) and :class:`Timestamp` (:meth:`~Timestamp.round`, :meth:`~Timestamp.ceil`, :meth:`~Timestamp.floor`) could give rise to loss of precision (:issue:`22591`)
11981198
- Bug in :func:`to_datetime` with an :class:`Index` argument that would drop the ``name`` from the result (:issue:`21697`)
11991199
- Bug in :class:`PeriodIndex` where adding or subtracting a :class:`timedelta` or :class:`Tick` object produced incorrect results (:issue:`22988`)
1200-
- Bug in the :class:`Series` repr with Period data missing a space before the data (:issue:`23601`)
1200+
- Bug in the :class:`Series` repr with period-dtype data missing a space before the data (:issue:`23601`)
12011201
- Bug in :func:`date_range` when decrementing a start date to a past end date by a negative frequency (:issue:`23270`)
12021202
- Bug in :meth:`Series.min` which would return ``NaN`` instead of ``NaT`` when called on a series of ``NaT`` (:issue:`23282`)
12031203
- Bug in :func:`DataFrame.combine` with datetimelike values raising a TypeError (:issue:`23079`)

pandas/core/arrays/base.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ class ExtensionArray(object):
4848
and dtype is provided. It can be customized or replaced by
4949
by overriding:
5050
51-
* _formatter
52-
* __repr__
51+
* __repr__ : A default repr for the ExtensionArray.
52+
* _formatter : Print scalars inside a Series or DataFrame.
5353
5454
Some methods require casting the ExtensionArray to an ndarray of Python
5555
objects with ``self.astype(object)``, which may be expensive. When
@@ -695,7 +695,7 @@ def _formatter(self, boxed=False):
695695
-------
696696
Callable[[Any], str]
697697
A callable that gets instances of the scalar type and
698-
returns a string. By defult, :func:`repr` is used.
698+
returns a string. By default, :func:`repr` is used.
699699
"""
700700
return repr
701701

0 commit comments

Comments
 (0)