Skip to content

Commit 3160fb8

Browse files
author
mdeboc
committed
DOC: update the pandas.DataFrame.apply docstring
1 parent d52ac81 commit 3160fb8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pandas/core/frame.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4943,12 +4943,6 @@ def apply(self, func, axis=0, broadcast=None, raw=False, reduce=None,
49434943
2 [1, 2]
49444944
dtype: object
49454945
4946-
>>> df.apply(lambda x: [1,], axis=1)
4947-
0 [1]
4948-
1 [1]
4949-
2 [1]
4950-
dtype: object
4951-
49524946
Passing result_type='expand' will expand list-like results
49534947
to columns of a Dataframe
49544948

0 commit comments

Comments
 (0)