scipy.sparse.dok_array.

maximum#

dok_array.maximum(other)[source]#

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