DOC: Fixing EX01 - Added examples
- [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


Looks like some of the code checks are failing Thanks for the corrections. @MarcoGorelli - it looks green.