Skip to content

Commit

Permalink
Fixes pandas-dev#24893: added comment in pivot
Browse files Browse the repository at this point in the history
  • Loading branch information
mabelvj committed Sep 5, 2019
1 parent 578c5e0 commit 0352930
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pandas/core/reshape/pivot.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def _add_margins(

row_names = result.index.names
try:
# check the result column and leave floats
for dtype in set(result.dtypes):
cols = result.select_dtypes([dtype]).columns
margin_dummy[cols] = margin_dummy[cols].apply(
Expand Down
Empty file.

0 comments on commit 0352930

Please sign in to comment.