Skip to content

Commit fc1449f

Browse files
DOC: update docs regarding to return_type/expand (due to GH10085)
1 parent 0ccb083 commit fc1449f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/text.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ Elements in the split lists can be accessed using ``get`` or ``[]`` notation:
8282
s2.str.split('_').str.get(1)
8383
s2.str.split('_').str[1]
8484
85-
Easy to expand this to return a DataFrame using ``return_type``.
85+
Easy to expand this to return a DataFrame using ``expand``.
8686

8787
.. ipython:: python
8888
89-
s2.str.split('_', return_type='frame')
89+
s2.str.split('_', expand=True)
9090
9191
Methods like ``replace`` and ``findall`` take `regular expressions
9292
<https://docs.python.org/2/library/re.html>`__, too:

0 commit comments

Comments
 (0)