We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc6ab05 commit 1343011Copy full SHA for 1343011
doc/source/text.rst
@@ -256,7 +256,7 @@ It raises ``ValueError`` if ``expand=False``.
256
.. code-block:: python
257
258
>>> s.index.str.extract("(?P<letter>[a-zA-Z])([0-9]+)", expand=False)
259
- ValueError: This pattern contains no groups to capture.
+ ValueError: only one regex group is supported with Index
260
261
The table below summarizes the behavior of ``extract(expand=False)``
262
(input subject in first column, number of groups in regex in
0 commit comments