bsparse.sparse.COO.astype#

sparse.COO.astype(dtype)#

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