Skip to content

Commit b347b94

Browse files
linting
1 parent 1fc2113 commit b347b94

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pandas/core/arrays/string_.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ class StringDtype(StorageExtensionDtype):
8686
----------
8787
storage : {"python", "pyarrow"}, optional
8888
If not given, the value of ``pd.options.mode.string_storage``.
89-
na_value :
89+
na_value : {np.nan, pd.NA}, default pd.NA
90+
Whether the dtype follows NaN or NA missing value semantics.
9091
9192
Attributes
9293
----------

pandas/core/arrays/string_arrow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class ArrowStringArray(ObjectStringArrayMixin, ArrowExtensionArray, BaseStringAr
131131
# base class "ArrowExtensionArray" defined the type as "ArrowDtype")
132132
_dtype: StringDtype # type: ignore[assignment]
133133
_storage = "pyarrow"
134-
_na_value = libmissing.NA
134+
_na_value: libmissing.NAType | float = libmissing.NA
135135

136136
def __init__(self, values) -> None:
137137
_chk_pyarrow_available()

0 commit comments

Comments
 (0)