DOC: Updated resample.py and groupby.py to fix SA04 Errors
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry: Fixed Partial SA04 Errors 

