CLN: _wrap_applied_output
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Changing `v` to `first_not_none` is a clear improvement.  the other rearrangement im fine either way @jbrockmendel: Thanks for the review. Regarding the rearrangement, I thought it was better to separate "not a series" and "is a series" cases. Before they were (needlessly IMO) intertwined. thanks @rhshadrach yeah groupby has built up over the years to be long / complicated functions, thanks for working on this.