DOC: PR06 docstring fixes
- This PR contains doctrine PR06 fixes mostly doing the conversion below:

- boolean to bool

- string to str

- integer to int

- Tests unchanged
- black pandas ran successfully

Thanks @tolaa001  is there much of #28724 oustanding?