#21128 DOC: Add documentation for freq='infer' option of DatetimeIndex and TimedeltaIndex constructors
- [X] closes #21128
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
