You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: <lambda>() got an unexpected keyword argument 'labels'
Even though the labels keyword argument to expected is explicitly supported in the documentation.
labels : bool
If True, the function should use labeled indexing instead of integer
indexing using the distribution's underlying rv coordinates. For example,
if `dims = ('rv', 'x')` and `coords = {'rv': ['a', 'b'], }`, then
the function can be `lambda x: x["a"] + x["b"]`.
This code:
Gets this error:
Even though the
labels
keyword argument toexpected
is explicitly supported in the documentation.https://github.com/econ-ark/HARK/blob/master/HARK/distribution.py#L2422
The text was updated successfully, but these errors were encountered: