linearmodels.shared.utility.AttrDict

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

Ordered dictionary-like object that exposes keys as attributes

Methods

clear()

Remove all items from AD.

copy()

Create a shallow copy of AD

get(k[,d])

items()

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

keys()

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

pop(key[, default])

Remove specified key and return the corresponding value.

popitem()

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

setdefault(k[,d])

update(*args, **kwargs)

Update AD from dictionary or iterable E and F.

values()

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