Cln 31942/replace appender with doc 6
- [x] ref #31942
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- fixes issues with the introduction of the doc decorator
