Skip to content

Commit 7f4baf7

Browse files
fix typing
1 parent 1750bcb commit 7f4baf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/string_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ class StringArray(BaseStringArray, NumpyExtensionArray): # type: ignore[misc]
419419
# undo the NumpyExtensionArray hack
420420
_typ = "extension"
421421
_storage = "python"
422-
_na_value = libmissing.NA
422+
_na_value: libmissing.NAType | float = libmissing.NA
423423

424424
def __init__(self, values, copy: bool = False) -> None:
425425
values = extract_array(values)

0 commit comments

Comments
 (0)