convertir ndarray en csr_matrix

sparse_csr_mat = sparse.csr_matrix(an_array)
Real Rat