scipy.sparse
scipy.sparse.spmatrix.asfptype
scipy.sparse.spmatrix.conj
spmatrix.
astype
Cast the matrix elements to a specified type.
The data will be copied.
t : string or numpy dtype
Typecode or data-type to which to cast the data.