Skip to content

Commit

Permalink
DOC: Fix hyperlinks to NumPy methods in DataFrame.shape / DataFrame.n…
Browse files Browse the repository at this point in the history
…dim (#60516)
  • Loading branch information
Shubhank-Gyawali authored Dec 8, 2024
1 parent 8a286fa commit 29d7e08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ def shape(self) -> tuple[int, int]:
See Also
--------
ndarray.shape : Tuple of array dimensions.
numpy.ndarray.shape : Tuple of array dimensions.
Examples
--------
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ def ndim(self) -> int:
See Also
--------
ndarray.ndim : Number of array dimensions.
numpy.ndarray.ndim : Number of array dimensions.
Examples
--------
Expand Down

0 comments on commit 29d7e08

Please sign in to comment.