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 3550556 commit 7eec271Copy full SHA for 7eec271
pandas/core/arrays/string_.py
@@ -218,6 +218,10 @@ def __eq__(self, other: object) -> bool:
218
return self.storage == other.storage and self.na_value is other.na_value
219
return False
220
221
+ def __setstate__(self, state):
222
+ self.storage = state.pop('storage', 'python')
223
+ self._na_value = state.pop('_na_value', libmissing.NA)
224
+
225
def __hash__(self) -> int:
226
# need to override __hash__ as well because of overriding __eq__
227
return super().__hash__()
0 commit comments