diff --git a/pandas/_libs/arrays.pyx b/pandas/_libs/arrays.pyx index 2932f3ff56396..6af01a7f6e6ae 100644 --- a/pandas/_libs/arrays.pyx +++ b/pandas/_libs/arrays.pyx @@ -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]