BUG: df.pivot_table: margins_name ignored when aggfunc is a list
- [ ] closes #13354 
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry

Could you also add a test ensuring that the margins have the correct names? Thanks.
 Sure thing!

Chris Mazzullo
On Jun 13, 2016 11:25 PM, "Tom Augspurger" notifications@github.com wrote:

> Could you also add a test ensuring that the margins have the correct
> names? Thanks.
> 
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> https://github.com/pydata/pandas/pull/13435#issuecomment-225770371, or mute
> the thread
> https://github.com/notifications/unsubscribe/AF-H8__ES0GttIBx9u98G2eGa8LqbHalks5qLh84gaJpZM4I01I4
> .
 ## [Current coverage](https://codecov.io/gh/pydata/pandas/pull/13435?src=pr) is **84.32%**

> Merging [#13435](https://codecov.io/gh/pydata/pandas/pull/13435?src=pr) into [master](https://codecov.io/gh/pydata/pandas/branch/master?src=pr) will increase coverage by **0.09%**

``` diff
@@             master     #13435   diff @@
==========================================
  Files           138        138          
  Lines         50805      51072   +267   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits          42796      43069   +273   
+ Misses         8009       8003     -6   
  Partials          0          0          
```

> Powered by [Codecov](https://codecov.io?src=pr). Last updated by [62b4327...6017e25](https://codecov.io/gh/pydata/pandas/compare/62b4327c9b60d890b1d404cddf3a4244254346a8...6017e252e81e2754e21b04e71d6c4226bf410016)
 thanks!
