linearmodels.utility.AttrDict

class AttrDict(*args, **kwargs)[source]

Ordered dictionary-like object that exposes keys as attributes

Methods

clear(self)

Remove all items from AD.

copy(self)

Create a shallow copy of AD

get(self, key[, default])

items(self)

Return an ordered list-like object providing a view on AD’s items

keys(self)

Return an ordered list-like object providing a view on AD’s keys

pop(self, key, NoneType], default)

Remove specified key and return the corresponding value.

popitem(self)

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

setdefault(self, key[, default])

update(self, \*args, Any], …)

Update AD from dictionary or iterable E and F.

values(self)

Return an ordered list-like object object providing a view on AD’s values