PERF: groupby / frame apply optimization
NETWORK: change failing FRED test
Merge pull request #7881 from jreback/apply_optimize

PERF: groupby / frame apply optimization