edit _set_grouper func to return basegrouper for non-datetime groupings

returns basegrouper class for non-datetime groupings while still returning a datetime index for datetime grouping