ENH: Add axis parameter to add_prefix and add_suffix
- [X] closes #47819
- [X] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [X] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Hi @mroeschke, are there any other changes required (or) should we hold back changes in this API for now ?
Accordingly (if required) can update the whatsnew file along with other review suggestions
Thanks in advance. :) Hello @dannyi96! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:







There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: 

##### Comment last updated at 2022-08-30 22:27:53 UTC IMO I think this is more appropriate for 1.6, so I would be in favor of moving the release notes to `1.6.0.rst`. I could be convinced otherwise though No preference on my side. @dannyi96 could you move whatsnew and change Versionadded? Sure thing @mroeschke @phofl. Will move the notes to 1.6 updated the whatsnew. 
( have` added it as part of "Other enhancements" in whatsnew v1.6 file ) > One small comment otherwise LGTM. If you could merge in main once more, that would be great.

done 🙂  Thanks @dannyi96, great work! 