Skip to content

Commit e6ec6bc

Browse files
committed
Adapt whatsnew
1 parent 173514f commit e6ec6bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/whatsnew/v0.24.0.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ Backwards incompatible API changes
245245

246246
- A newly constructed empty :class:`DataFrame` with integer as the ``dtype`` will now only be cast to ``float64`` if ``index`` is specified (:issue:`22858`)
247247
- :meth:`Series.str.cat` will now raise if `others` is a `set` (:issue:`23009`)
248-
- The `.str`-accessor does not work for anything other than string data anymore. Any other uses (like ``bytes``, for example)
249-
were never intended to be used and "worked" purely due to limitations of dtype checking (:issue:`23011`, :issue:`23163`)
248+
- The `.str`-accessor will perform more rigorous type checking for inputs. Previously, some types that were never intended to be used
249+
"worked" purely due to limitations of dtype checking -- e.g. ``bytes``, which is now disabled except for :meth:`Series.str.decode` (:issue:`23011`, :issue:`23163`)
250250

251251
.. _whatsnew_0240.api_breaking.deps:
252252

0 commit comments

Comments
 (0)