Skip to content

Commit

Permalink
DOC: correct Panel.apply exsample (#19766)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuBaohe authored and jreback committed Feb 19, 2018
1 parent c1f0c63 commit 73ecfe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ def apply(self, func, axis='major', **kwargs):
Equivalent to previous:
>>> p.apply(lambda x: x.sum(), axis='minor')
>>> p.apply(lambda x: x.sum(), axis='major')
Return the shapes of each DataFrame over axis 2 (i.e the shapes of
items x major), as a Series
Expand Down

0 comments on commit 73ecfe6

Please sign in to comment.