diff --git a/pandas/core/generic.py b/pandas/core/generic.py index cf60717011222..9777ced2b209d 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -12340,9 +12340,6 @@ def last_valid_index(self) -> Hashable | None: Axis for the function to be applied on. For `Series` this parameter is unused and defaults to 0. - For DataFrames, specifying ``axis=None`` will apply the aggregation - across both axes. - .. versionadded:: 2.0.0 skipna : bool, default True