Fix DataFrame.agg produces different types if the DataFrame is empty
- [ ✔] closes https://github.com/pandas-dev/pandas/issues/41672
- [ ❌] tests added / passed
- [ ❌] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them

