BUG: GH2763 fixed downcasting of groupby results on SeriesGroupBy
      e.g. was returning float64 on int64 input when possible to preserve
      in first/last
Merge pull request #3152 from jreback/GH2763

BUG: GH2763 fixed downcasting of groupby results on SeriesGroupBy