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
