File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def map_infer(
7676 ignore_na : bool = ...,
7777 mask : npt .NDArray [np .bool_ ] | None = ...,
7878 na_value : Any = ...,
79- convert_to_nullable_dtype : Literal [ False ] = ...,
79+ convert_to_nullable_dtype : bool = ...,
8080 storage : str | None = ...,
8181) -> np .ndarray : ...
8282@overload
@@ -88,7 +88,7 @@ def map_infer(
8888 ignore_na : bool = ...,
8989 mask : npt .NDArray [np .bool_ ] | None = ...,
9090 na_value : Any = ...,
91- convert_to_nullable_dtype : Literal [ False ] = ...,
91+ convert_to_nullable_dtype : bool = ...,
9292 storage : str | None = ...,
9393) -> ArrayLike : ...
9494@overload
Original file line number Diff line number Diff line change @@ -343,6 +343,7 @@ def _from_sequence_of_strings(
343343 if isinstance (strings , ExtensionArray ) and isinstance (
344344 strings .dtype , ArrowDtype
345345 ):
346+ strings = cast ("ArrowExtensionArray" , strings )
346347 scalars = to_datetime (strings ._pa_array , errors = "raise" ).date
347348 else :
348349 scalars = to_datetime (strings , errors = "raise" ).date
You can’t perform that action at this time.
0 commit comments