From 0655a1253dc97ec156e155d4c02b768518701ff6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 5 Oct 2023 19:38:57 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pandas/core/series.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index c734d0f375cc83..88be4eefac6ea7 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -5005,11 +5005,11 @@ def reindex( # type: ignore[override] ) @overload - def rename_axis( # type: ignore[override] + def rename_axis( self, mapper: IndexLabel | lib.NoDefault = ..., *, - index = ..., + index=..., axis: Axis = ..., copy: bool = ..., inplace: Literal[True], @@ -5017,11 +5017,11 @@ def rename_axis( # type: ignore[override] ... @overload - def rename_axis( # type: ignore[override] + def rename_axis( self, mapper: IndexLabel | lib.NoDefault = ..., *, - index = ..., + index=..., axis: Axis = ..., copy: bool = ..., inplace: Literal[False] = ..., @@ -5029,11 +5029,11 @@ def rename_axis( # type: ignore[override] ... @overload - def rename_axis( # type: ignore[override] + def rename_axis( self, mapper: IndexLabel | lib.NoDefault = ..., *, - index = ..., + index=..., axis: Axis = ..., copy: bool = ..., inplace: bool = ...,