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 bf1a089 commit 2736889Copy full SHA for 2736889
pandas/_libs/arrays.pyx
@@ -100,6 +100,10 @@ cdef class NDArrayBacked:
100
if len(state) == 1 and isinstance(state[0], dict):
101
self.__setstate__(state[0])
102
return
103
+ elif len(state) == 2:
104
+ # GH#62820: Handle missing attrs dict during auto-unpickling
105
+ self.__setstate__((*state, {}))
106
+ return
107
raise NotImplementedError(state) # pragma: no cover
108
109
data, dtype = state[:2]
0 commit comments