From 11279558b237e6a620b255d7a93264493d7dbe10 Mon Sep 17 00:00:00 2001 From: Loic Diridollou Date: Tue, 14 Jan 2025 22:22:23 -0500 Subject: [PATCH] GH1099 Remove how arg from Periodindex.astype --- pandas-stubs/core/indexes/period.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas-stubs/core/indexes/period.pyi b/pandas-stubs/core/indexes/period.pyi index 730c9b60c..a2884a37a 100644 --- a/pandas-stubs/core/indexes/period.pyi +++ b/pandas-stubs/core/indexes/period.pyi @@ -53,7 +53,7 @@ class PeriodIndex(DatetimeIndexOpsMixin[pd.Period], PeriodIndexFieldOps): def __array__(self, dtype=...) -> np.ndarray: ... def __array_wrap__(self, result, context=...): ... def asof_locs(self, where, mask): ... - def astype(self, dtype, copy: bool = ..., how: str = ...): ... + def astype(self, dtype, copy: bool = ...): ... def searchsorted(self, value, side: str = ..., sorter=...): ... @property def is_full(self) -> bool: ...