DOC : Update generic.py
Included documentation for 'how' in DataFrame.resample

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