diff --git a/pandas/core/base.py b/pandas/core/base.py index ee514888c6331..7ea2ff95ea0de 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -753,7 +753,7 @@ def to_numpy(self, dtype=None, copy=False, na_value=lib.no_default, **kwargs): dtype : str or numpy.dtype, optional The dtype to pass to :meth:`numpy.asarray`. copy : bool, default False - Whether to ensure that the returned value is a not a view on + Whether to ensure that the returned value is not a view on another array. Note that ``copy=False`` does not *ensure* that ``to_numpy()`` is no-copy. Rather, ``copy=True`` ensure that a copy is made, even if not strictly necessary. diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 4b4801f4e8c58..f8cb99e2b2e75 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1301,7 +1301,7 @@ def to_numpy(self, dtype=None, copy: bool = False) -> np.ndarray: dtype : str or numpy.dtype, optional The dtype to pass to :meth:`numpy.asarray`. copy : bool, default False - Whether to ensure that the returned value is a not a view on + Whether to ensure that the returned value is not a view on another array. Note that ``copy=False`` does not *ensure* that ``to_numpy()`` is no-copy. Rather, ``copy=True`` ensure that a copy is made, even if not strictly necessary.