TST: dtype issue in test_groupby.py on windows (GH5595)

closes #5595