DOC: extra closing parens make example invalid.
No attached issues or need for what's new / test... unless you want to actually get a linter the parse the docstrings and make the the examples are syntactically correct ?

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

we do run some but not all doc-tests which run the doc-strings

happy to have a follow on which expands that check (see code_check.sh)