https://keroseneheaterreview.blogspot.com/2024/06/how-can-numpyufuncreduceat-indices-be.html
How Can A Numpy.ufunc.reduceat Indices Be Generated From Python Slice Object