bsparse.sparse.DIA.astype#

sparse.DIA.astype(dtype)#

Returns a copy of the matrix with a different data type.