diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 7e391e7a03fbb..5555b99a0ef88 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -2163,7 +2163,7 @@ def dropna(self, how="any"): Returns ------- - valid : Index + Index """ if how not in ("any", "all"): raise ValueError(f"invalid how option: {how}")