DOC: Updates Index.reindex docstrings (#40328)
State: closed

- [x] closes #40328: explains function parameters and gives basic example
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see here for how to run them
- [ ] whatsnew entry

Labels:
name: Docs
name: Index
description: Related to the Index class or subclasses

Comments:
Hello @lnros! 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:

* In the file [`pandas/core/indexes/base.py`](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py):

> [Line 291:13](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L291): [E126](https://duckduckgo.com/?q=pep8%20E126) continuation line over-indented for hanging indent
> [Line 375:89](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L375): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (91 > 88 characters)
> [Line 3427:89](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L3427): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (94 > 88 characters)
> [Line 3664:17](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L3664): [E126](https://duckduckgo.com/?q=pep8%20E126) continuation line over-indented for hanging indent
> [Line 3819:47](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L3819): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace
> [Line 3820:46](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L3820): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace
> [Line 3821:50](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L3821): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace
> [Line 4038:25](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L4038): [E126](https://duckduckgo.com/?q=pep8%20E126) continuation line over-indented for hanging indent
> [Line 4856:17](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L4856): [E126](https://duckduckgo.com/?q=pep8%20E126) continuation line over-indented for hanging indent
> [Line 4858:13](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L4858): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 4859:13](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L4859): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented
> [Line 4860:9](https://github.com/pandas-dev/pandas/blob/6daecfb59c11cc65817a6e40dd67a74481bc8a9a/pandas/core/indexes/base.py#L4860): [E122](https://duckduckgo.com/?q=pep8%20E122) continuation line missing indentation or outdented



##### Comment last updated at 2021-05-25 11:23:31 UTC
@lnros can you merge master to resolve conflicts
@simonjayhawkins Done 
/azp run
<samp>
Azure Pipelines successfully started running 1 pipeline(s).<br>

</samp>
closing as stale