Skip to content

Commit 29d7e08

Browse files
DOC: Fix hyperlinks to NumPy methods in DataFrame.shape / DataFrame.ndim (#60516)
1 parent 8a286fa commit 29d7e08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ def shape(self) -> tuple[int, int]:
10181018
10191019
See Also
10201020
--------
1021-
ndarray.shape : Tuple of array dimensions.
1021+
numpy.ndarray.shape : Tuple of array dimensions.
10221022
10231023
Examples
10241024
--------

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ def ndim(self) -> int:
640640
641641
See Also
642642
--------
643-
ndarray.ndim : Number of array dimensions.
643+
numpy.ndarray.ndim : Number of array dimensions.
644644
645645
Examples
646646
--------

0 commit comments

Comments
 (0)