Pandas version checks
Location of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.ndim.html
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.shape.html
Documentation problem
In the see also section the ndarray.shape and ndarray.ndim method is listed, but it is not hyperlinks and thus the reader cannot navigate with ease but has to look for them instead.
Suggested fix for documentation
Add numpy.ndarray.shape and numpy.ndarray.ndim in the docstring.