Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pandas/_libs/arrays.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ cdef class NDArrayBacked:
if len(state) == 1 and isinstance(state[0], dict):
self.__setstate__(state[0])
return
elif len(state) == 2:
# GH#62820: Handle missing attrs dict during auto-unpickling
self.__setstate__((*state, {}))
return
raise NotImplementedError(state) # pragma: no cover

data, dtype = state[:2]
Expand Down
Loading