COO.astype

COO.astype(dtype, out=None)[source]

Copy of the array, cast to a specified type.

See also

scipy.sparse.coo_matrix.astype()
SciPy sparse equivalent function
numpy.ndarray.astype()
NumPy equivalent ufunc.
COO.elemwise
Apply an arbitrary element-wise function to one or two arguments.

Notes

The out parameter is provided just for compatibility with Numpy and isn’t actually supported.