https://digitalblackboard.io/python/numpyufuncs/aggregation/
NumPy Aggregation Ufuncs