Series as of docstring
Checklist for the pandas documentation sprint (ignore this if you are doing
an unrelated PR):

- [ ] PR title is "DOC: update the <your-function-or-method> docstring"
- [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>`
- [ ] The PEP8 style check passes: `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] The html version looks good: `python doc/make.py --single <your-function-or-method>`
- [ ] It has been proofread on language by another sprint participant

Please include the output of the validation script below between the "```" ticks:

```
# paste output of "scripts/validate_docstrings.py <your-function-or-method>" here
# between the "```" (remove this comment, but keep the "```")

```

If the validation script still gives errors, but you think there is a good reason
to deviate in this case (and there are certainly such cases), please state this
explicitly.


Checklist for other PRs (remove this part if you are doing a PR for the pandas documentation sprint):

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

Hello @Lrodlima! Thanks for submitting the PR.

 - In the file [`pandas/core/generic.py`](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py), following are the PEP8 issues :

> [Line 5404:43](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py#L5404): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace
> [Line 5405:1](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py#L5405): [W293](https://duckduckgo.com/?q=pep8%20W293) blank line contains whitespace
> [Line 5406:80](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py#L5406): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (102 > 79 characters)
> [Line 5407:80](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py#L5407): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (106 > 79 characters)
> [Line 5408:1](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py#L5408): [W293](https://duckduckgo.com/?q=pep8%20W293) blank line contains whitespace
> [Line 5410:1](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py#L5410): [W293](https://duckduckgo.com/?q=pep8%20W293) blank line contains whitespace
> [Line 5416:80](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py#L5416): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (102 > 79 characters)
> [Line 5434:80](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py#L5434): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (134 > 79 characters)
> [Line 5441:80](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py#L5441): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (82 > 79 characters)
> [Line 5442:62](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py#L5442): [W291](https://duckduckgo.com/?q=pep8%20W291) trailing whitespace
> [Line 5456:1](https://github.com/pandas-dev/pandas/blob/95a5298b56afd6c7ceab6cc321a25941642099ec/pandas/core/generic.py#L5456): [W293](https://duckduckgo.com/?q=pep8%20W293) blank line contains whitespace

 Can you please follow the instructions? (edit the PR title, paste the output of the validation scripts, make sure the PEP8 check passes) @Lrodlima do you have time to update the PR based on the feedback? Seems like this is duplicate work with #21034, which is a bit more complete. Closing this one. Thanks @Lrodlima for the work, and sorry about the lack of synchronization.