Transform adata.X from a matrix or array to a sparse matrix. sparse_format : accepted input are csr or csc if copy is True return a new AnnData object. Else overwrite the input object