Skip to content

Commit 73ecfe6

Browse files
ZhuBaohejreback
authored andcommitted
DOC: correct Panel.apply exsample (pandas-dev#19766)
1 parent c1f0c63 commit 73ecfe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/panel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ def apply(self, func, axis='major', **kwargs):
10201020
10211021
Equivalent to previous:
10221022
1023-
>>> p.apply(lambda x: x.sum(), axis='minor')
1023+
>>> p.apply(lambda x: x.sum(), axis='major')
10241024
10251025
Return the shapes of each DataFrame over axis 2 (i.e the shapes of
10261026
items x major), as a Series

0 commit comments

Comments
 (0)