scipy.sparse.lil_array.

maximum

lil_array.maximum(other)[source]

Element-wise maximum between this and another array/matrix.