astype

sparse.astype(x, dtype, /, *, copy=True)[source]