Skip to content

Commit 1363c03

Browse files
committed
doc
1 parent 6e1819a commit 1363c03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/whatsnew/v0.23.0.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -380,11 +380,11 @@ New Behavior. The behavior is consistent. These will *always* return a ``Series`
380380
df.apply(lambda x: [1, 2, 3], axis=1)
381381
df.apply(lambda x: [1, 2], axis=1)
382382

383-
To have expanded columns, you can use ``result_type='infer'``
383+
To have expanded columns, you can use ``result_type='expand'``
384384

385385
.. ipython:: python
386386

387-
df.apply(lambda x: [1, 2, 3], axis=1, result_type='infer')
387+
df.apply(lambda x: [1, 2, 3], axis=1, result_type='expand')
388388

389389
To have broadcast the result across, you can use ``result_type='broadcast'``. The shape
390390
must match the original columns.

0 commit comments

Comments
 (0)