Skip to content

Commit 23f6001

Browse files
committed
fix values
1 parent f02444c commit 23f6001

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas-stubs/core/indexes/period.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ from typing import (
66
)
77

88
import numpy as np
9-
import numpy.typing as npt
109
import pandas as pd
1110
from pandas import Index
1211
from pandas.core.indexes.accessors import PeriodIndexFieldOps
@@ -35,7 +34,7 @@ class PeriodIndex(DatetimeIndexOpsMixin[pd.Period, np.object_], PeriodIndexField
3534
name: Hashable | None = None,
3635
): ...
3736
@property
38-
def values(self) -> npt.NDArray[np.object_]: ...
37+
def values(self) -> np.ndarray[tuple[int], np.dtype[np.object_]]: ...
3938
def __contains__(self, key: object) -> bool: ...
4039
@overload
4140
def __sub__(self, other: Period) -> Index: ...

0 commit comments

Comments
 (0)