COO.astype

COO.astype(dtype, copy=True)[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.