diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 9c39fac13b230..b76ef69efa9f2 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -83,7 +83,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DataFrame.__iter__ SA01" \ -i "pandas.DataFrame.assign SA01" \ -i "pandas.DataFrame.at_time PR01" \ - -i "pandas.DataFrame.axes SA01" \ -i "pandas.DataFrame.bfill SA01" \ -i "pandas.DataFrame.columns SA01" \ -i "pandas.DataFrame.copy SA01" \ diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 6db1811a98dd3..0b386efb5a867 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]})