linearmodels.shared.utility.AttrDict.update

AttrDict.update(*args: SupportsKeysAndGetItem[Any, Any] | Iterable[tuple[Any, Any]], **kwargs: Any) None[source]

Update AD from dictionary or iterable E and F. If E is present and has a .keys() method, then does: for k in E: AD[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: AD[k] = v In either case, this is followed by: for k in F: AD[k] = F[k]