Bulk zeroing of elements in a scipy.sparse_matrix,A = A - A.multiply(B)