BUG: agg with axis=1
State: closed

This is a potentially inefficient fix to the this issue which requires a double transpose. I am unsure how inefficient this is, and if this is an acceptable solution. It solves the issue, but perhaps it would be preferable to implement this further down the stack in `_aggregate_multiple_funcs`.

An additional small fix is to pass `_axis` down the stack. `axis` was passed to `self._aggregate` previous, but had not effect since it was not referenced.

- [X] improves #16679 
- [None] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry


Labels:
name: Bug
name: Reshaping
description: Concat, Merge/Join, Stack/Unstack, Explode

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/19605?src=pr&el=h1) Report
> Merging [#19605](https://codecov.io/gh/pandas-dev/pandas/pull/19605?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/b83512773ab0dd3908cf2ef5ccaddcd8e0337c64?src=pr&el=desc) will **decrease** coverage by `<.01%`.
> The diff coverage is `85.71%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/19605/graphs/tree.svg?width=650&height=150&src=pr&token=eZ4WkYLtcO)](https://codecov.io/gh/pandas-dev/pandas/pull/19605?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #19605      +/-   ##
==========================================
- Coverage   91.62%   91.62%   -0.01%     
==========================================
  Files         150      150              
  Lines       48790    48804      +14     
==========================================
+ Hits        44703    44715      +12     
- Misses       4087     4089       +2
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `89.99% <85.71%> (-0.01%)` | :arrow_down: |
| #single | `41.72% <0%> (-0.01%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/19605?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/19605/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `97.33% <85.71%> (-0.1%)` | :arrow_down: |
| [pandas/io/formats/format.py](https://codecov.io/gh/pandas-dev/pandas/pull/19605/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL2Zvcm1hdHMvZm9ybWF0LnB5) | `96.25% <0%> (+0.01%)` | :arrow_up: |
| [pandas/core/arrays/base.py](https://codecov.io/gh/pandas-dev/pandas/pull/19605/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvYXJyYXlzL2Jhc2UucHk=) | `60.6% <0%> (+3.93%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/19605?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/19605?src=pr&el=footer). Last update [b835127...054a13a](https://codecov.io/gh/pandas-dev/pandas/pull/19605?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

Hello @spencerogden! Thanks for updating the PR.





Cheers ! There are no PEP8 issues in this Pull Request. :beers: 

##### Comment last updated on February 09, 2018 at 20:51 Hours UTC
closing in favor of #21224