linearmodels.shared.utility.AttrDict.pop

AttrDict.pop(key: Hashable | None, default: Any | None = None) Any[source]

Remove specified key and return the corresponding value. If key is not found, default is returned if given, otherwise KeyError is raised