Skip to content

Commit 44155ac

Browse files
committed
remove the module on basestring
1 parent 9e125e3 commit 44155ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/arrays/string_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ def __from_arrow__(
378378
return new_string_array
379379

380380

381-
@set_module("pandas")
382381
class BaseStringArray(ExtensionArray):
383382
"""
384383
Mixin class for StringArray, ArrowStringArray.
@@ -728,7 +727,8 @@ def __arrow_array__(self, type=None):
728727
values[self.isna()] = None
729728
return pa.array(values, type=type, from_pandas=True)
730729

731-
def _values_for_factorize(self) -> tuple[np.ndarray, libmissing.NAType | float]: # type: ignore[override]
730+
# type: ignore[override]
731+
def _values_for_factorize(self) -> tuple[np.ndarray, libmissing.NAType | float]:
732732
arr = self._ndarray
733733

734734
return arr, self.dtype.na_value

0 commit comments

Comments
 (0)