Skip to content

Commit a1a8891

Browse files
changes based on review
1 parent f9e52cc commit a1a8891

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v0.25.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Other Enhancements
2222
- Indexing of ``DataFrame`` and ``Series`` now accepts zerodim ``np.ndarray`` (:issue:`24919`)
2323
- :meth:`Timestamp.replace` now supports the ``fold`` argument to disambiguate DST transition times (:issue:`25017`)
2424
- :meth:`DataFrame.at_time` and :meth:`Series.at_time` now support :meth:`datetime.time` objects with timezones (:issue:`24043`)
25-
- Add ``casefold`` to ``Series.str`` (:issue:`25405`)
25+
- ``Series.str`` has gained :meth:`Series.str.casefold` method to removes all case distinctions present in a string (:issue:`25405`)
2626

2727
.. _whatsnew_0250.api_breaking:
2828

pandas/core/strings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2944,6 +2944,7 @@ def rindex(self, sub, start=0, end=None):
29442944
Series.str.swapcase : Converts uppercase to lowercase and lowercase to
29452945
uppercase.
29462946
Series.str.casefold: Removes all case distinctions in the string.
2947+
.. versionadded:: 0.25.0
29472948
29482949
Examples
29492950
--------

0 commit comments

Comments
 (0)