You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.18.2.txt
+6
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,12 @@ Other enhancements
31
31
32
32
- The ``.tz_localize()`` method of ``DatetimeIndex`` and ``Timestamp`` has gained the ``errors`` keyword, so you can potentially coerce nonexistent timestamps to ``NaT``. The default behaviour remains to raising a ``NonExistentTimeError`` (:issue:`13057`)
33
33
34
+
- ``Index`` now supports ``.str.extractall()`` which returns ``DataFrame``, see :ref:`Extract all matches in each subject (extractall) <text.extractall>` (:issue:`10008`, :issue:`13156`)
34
35
36
+
.. ipython:: python
37
+
38
+
idx = pd.Index(["a1a2", "b1", "c1"])
39
+
idx.str.extractall("[ab](?P<digit>\d)")
35
40
36
41
37
42
.. _whatsnew_0182.api:
@@ -117,6 +122,7 @@ Bug Fixes
117
122
118
123
119
124
125
+
- Bug in ``Series.str.extractall()`` with ``str`` index raises ``ValueError`` (:issue:`13156`)
120
126
121
127
122
128
- Bug in ``PeriodIndex`` and ``Period`` subtraction raises ``AttributeError`` (:issue:`13071`)
0 commit comments