No SettingWithCopyWarning on groupby results
The dataframe referred to in the warning is a result of an
internal slicing operation and should not lead to a warning
in userspace.

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