REF: _get_objs_combined_axis
- [x] tests passed
- [x] passes `git diff master -u -- "*.py" | flake8 --diff`

As proposed [here](https://github.com/pandas-dev/pandas/pull/17011#discussion_r128045375), with the addition of the ``axis`` argument.