Is Numpy Array Faster Than Pandas Dataframe Group By Count