scipy.sparse
scipy.sparse.dok_matrix.keys
scipy.sparse.dok_matrix.mean
dok_matrix.
maximum
Element-wise maximum between this and another matrix.