scipy.sparse.dia_array. sign# dia_array.sign()[source]# Element-wise sign. See numpy.sign for more information.