Upcast matrix to a floating point format (if necessary)
scipy.sparse.csr_matrix.asformat
scipy.sparse.csr_matrix.astype
Enter search terms or a module, class or function name.