diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 76df5c82e6239..c176532c8269d 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -995,6 +995,11 @@ def axes(self) -> list[Index]: It has the row axis labels and column axis labels as the only members. They are returned in that order. + See Also + -------- + DataFrame.index: The index (row labels) of the DataFrame. + DataFrame.columns: The column labels of the DataFrame. + Examples -------- >>> df = pd.DataFrame({"col1": [1, 2], "col2": [3, 4]})