DOC: Mention black and PEP8 in pandas style guide
- [ ] closes #31828
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Thanks a lot for your help @datapythonista. Seems that currently it fails tests because of issue #32060. Should work after it resolved. I think we've got a temporary fix, can you merge master into your branch? I think CI should pass after that. Something went wrong, the diff is huge now, can you have a look please? Yes, sorry, I did something wrong. Will try to fix it now. If all else fail, run the commands

```
git fetch upstream
git rebase upstream/master
git push origin issue_31838 --force
```

(__USE ONLY AS LAST RESORT__)

---

Can anyone show me a better way, I am sure that there is one, I just don't know how to do it.
This is the only thing that actually works for me when this kind of thing happened. In the first section of this post is explained what I do: https://datapythonista.me/blog/useful-git-commands.html Thank you for your help! Very much appreciated. > In the first section of this post is explained what I do: https://datapythonista.me/blog/useful-git-commands.html

Bookmarked, thank you @datapythonista  Thanks @RaisaDZ 