diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 33a419925f70ce9e62ca52ec37a0fcf34d7759a3..34b448a0d8d1cda2cdb3c90b9e6a0ea6630a52b1 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1018,7 +1018,7 @@ class DataFrame(NDFrame, OpsMixin): See Also -------- - ndarray.shape : Tuple of array dimensions. + numpy.ndarray.shape : Tuple of array dimensions. Examples -------- diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 3a48cc8a660766ebacd5839f673e63459c0489f3..d1aa20501b060823a84cb828098a4ed6302e43ec 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -640,7 +640,7 @@ class NDFrame(PandasObject, indexing.IndexingMixin): See Also -------- - ndarray.ndim : Number of array dimensions. + numpy.ndarray.ndim : Number of array dimensions. Examples --------