Is Numpy Array Faster Than Pandas Groupby