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 9e125e3 commit 44155acCopy full SHA for 44155ac
pandas/core/arrays/string_.py
@@ -378,7 +378,6 @@ def __from_arrow__(
378
return new_string_array
379
380
381
-@set_module("pandas")
382
class BaseStringArray(ExtensionArray):
383
"""
384
Mixin class for StringArray, ArrowStringArray.
@@ -728,7 +727,8 @@ def __arrow_array__(self, type=None):
728
727
values[self.isna()] = None
729
return pa.array(values, type=type, from_pandas=True)
730
731
- def _values_for_factorize(self) -> tuple[np.ndarray, libmissing.NAType | float]: # type: ignore[override]
+ # type: ignore[override]
+ def _values_for_factorize(self) -> tuple[np.ndarray, libmissing.NAType | float]:
732
arr = self._ndarray
733
734
return arr, self.dtype.na_value
0 commit comments