Is Numpy Array Faster Than Pandas Dataframe Group By Aggregate