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
As far as I can work out,
"df.filter(level=[1, 2])"
always produces nothing, even when
"df.filter(level=1)" and "df.filter(level=2)"
produce reasonable values. I have been using workarounds so far, but at some point we should probably fix this!
The text was updated successfully, but these errors were encountered:
And the docstring of the function clearly states that it can be an int or a str (like 1+).
Fine for me to either extend the function or raise an explicit error.
Also, we should add level to the list of illegal column names in an IamDataFrame. Using an extra-column named level would cause unexpected behavior for the filter method.
As far as I can work out,
"df.filter(level=[1, 2])"
always produces nothing, even when
"df.filter(level=1)" and "df.filter(level=2)"
produce reasonable values. I have been using workarounds so far, but at some point we should probably fix this!
The text was updated successfully, but these errors were encountered: