scipy.optimize.OptimizeResult.pop

OptimizeResult.pop(key, default=<unrepresentable>, /)

If key is not found, default is returned if given, otherwise KeyError is raised