Bug fix using GroupBy.resample produces inconsistent behavior when calling it over empty df #47705
- [X] closes #47705
- [X] Tests added and passed(https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added an entry in the latest `doc/source/whatsnew/v1.5.0.rst` file if fixing a bug or adding a new feature.

Hello @ahmedibrhm! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:





There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: 

##### Comment last updated at 2022-08-15 17:40:17 UTC @mroeschke it's ready for another look if you wanna review again This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this. @rhshadrach sorry for the delay I was traveling and couldn't check that at all. It's hard to combine the tests because one test has the name of the column "date". So it won't be feasible to construct the expected one. No problem @ahmedibrhm! Looks like the whatsnew note got dropped - can you add that back in to 1.6.0. @rhshadrach how about now Thanks @ahmedibrhm 