We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d7675 commit 1e5c9edCopy full SHA for 1e5c9ed
pandas-stubs/core/arrays/string_.pyi
@@ -5,7 +5,7 @@ import pandas as pd
5
from pandas.core.arrays import PandasArray
6
7
from pandas._typing import (
8
- AnyArrayLike,
+ npt,
9
type_t,
10
)
11
@@ -23,8 +23,9 @@ class StringDtype(ExtensionDtype):
23
class StringArray(PandasArray):
24
def __init__(
25
self,
26
- # Also pd.NA and np.nan but not possible it seems
27
- values: AnyArrayLike | Sequence[str | None],
+ values: npt.NDArray[np.str_]
+ | npt.NDArray[np.string_]
28
+ | npt.NDArray[np.object_],
29
copy: bool = ...,
30
) -> None: ...
31
def __arrow_array__(self, type=...): ...
0 commit comments