ENH: groupby().apply(f) accepts raw=True arg, to return results unmolested