Backport PR #35792 on branch 1.1.x: CLN/BUG: Clean/Simplify _wrap_applied_output
Backport PR #35792

https://github.com/pandas-dev/pandas/pull/37305#issuecomment-716498455 cc @jreback 
@jreback just the conda solve issue on travis-36-cov since #37417 merged. merging this also and changing milestones on #35792