scipy.sparse
scipy.sparse.bsr_matrix.asfptype
scipy.sparse.bsr_matrix.ceil
bsr_matrix.
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.