mean
- lil_matrix.mean(axis=None, dtype=None, out=None)
Compute the arithmetic mean along the specified axis.
Returns the average of the array/matrix elements. The average is taken over all elements in the array/matrix by default, otherwise over the specified axis. float64 intermediate and return values are used for integer inputs.
- Parameters:
- axis