DOC: Fixing EX01 - Added examples
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

Towards https://github.com/pandas-dev/pandas/issues/37875

@MarcoGorelli - we talked about this one (I was supposed to do a draft PR and tag you). 
It passes the local tests, but I'm not sure if the way I did it is fine.
/preview Website preview of this PR available at: https://pandas.pydata.org/preview/53374/