'Restore the internal state of the Column/MaskedColumn for pickling
purposes.  This requires that the last element of ``state`` is a
5-tuple that has Column-specific state values.'

def __setstate__(self, state):

    names = (u'_name', u'unit', u'format', u'description', u'meta', u'indices')
    attrs = {name: val for (name, val) in zip(names, state[(-1)])}
    state = state[:(-1)]
    super_class = (ma.MaskedArray if isinstance(self, ma.MaskedArray) else np.ndarray)
    super_class.__setstate__(self, state)
    for (name, val) in attrs.items():
        setattr(self, name, val)
    self._parent_table = None
