ENH: Make sure returned results is 2d.
TST: Fix signature for transform slices test
Merge pull request #1424 from jseabold/grouputils-apply-vs-transform

ENH: Consistent results for transform_slices