Skip to content

Commit 2ff7fcb

Browse files
author
Marco Gorelli
committed
Rephrase whatnew entry
1 parent 041368a commit 2ff7fcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/whatsnew/v1.0.0.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ Categorical
165165

166166
- Added test to assert the :func:`fillna` raises the correct ValueError message when the value isn't a value from categories (:issue:`13628`)
167167
- Bug in :meth:`Categorical.astype` where ``NaN`` values were handled incorrectly when casting to int (:issue:`28406`)
168-
- Using date accessors on a categorical dtyped series of datetimes was not returning a Series (or DataFrame) of the
169-
same type as if one used the .str. / .dt. on a Series of that type, e.g. when accessing :meth:`Series.dt.tz_localize` on a
168+
- Using date accessors on a categorical dtyped :class:`Series` of datetimes was not returning an object of the
169+
same type as if one used the :meth:`.str.` / :meth:`.dt.` on a :class:`Series` of that type. E.g. when accessing :meth:`Series.dt.tz_localize` on a
170170
:class:`Categorical` with duplicate entries, the accessor was skipping duplicates (:issue: `27952`)
171171
-
172172

0 commit comments

Comments
 (0)