Is Numpy Array Faster Than Pandas Group By Two Categories