fast_sum_by_row#

fast_sum_by_row(matrix: ndarray) array[source]#

Faster alternative to np.sum(matrix, axis=1).