bsparse.BCOO.astype#

BCOO.astype(dtype)#

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