linearmodels.utility.AttrDict.popitem

AttrDict.popitem(self)

as a 2-tuple; but raise KeyError if D is empty.