diff --git a/anndata/base.py b/anndata/base.py index fabdb8c2d..462111895 100644 --- a/anndata/base.py +++ b/anndata/base.py @@ -364,6 +364,9 @@ def keys(self): def copy(self, order='C'): # we want a conventional array return np.array(self) + + def toarray(self): + return self.copy() # the following two definitions are exactly equivalent