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 306385b commit eb05b13Copy full SHA for eb05b13
pandas/core/arrays/string_.py
@@ -660,7 +660,7 @@ def __arrow_array__(self, type=None):
660
return pa.array(values, type=type, from_pandas=True)
661
662
def _values_for_factorize(self) -> tuple[np.ndarray, libmissing.NAType | float]: # type: ignore[override]
663
- arr = self._ndarray.copy()
+ arr = self._ndarray
664
665
return arr, self.dtype.na_value
666
0 commit comments