With DataFrame.apply it is possible to use raw=True which causes the applied function to be called with a Numpy array, allowing for speedus by writing the function in Cython using JITint it with Numba.
Is the same possible with DataFrame.groupby().agg?