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
I am surprised, that the Contains selector for Categorical values does call At and does not call the contains function.
My use case is, that I have a long Variable dimensions with many different named variables for which some are similar or following a certain naming pattern.
And then I want to select a certain variable group like in this shortened example.
I would expect that the Contains(value) selector behaves as calling Where(contains(value))
I can open a PR with these changes, but I might need some help in making the Vector case work.
Then the Docstring should state, that one should use Where for this case and should not silently try to use At and rather throw an informative error message.
I think, that the overlap with the Intervals is not so bad because Categorical and Intervals doing different things is expected and Contains has a clear meaning for Strings.
I am surprised, that the Contains selector for Categorical values does call At and does not call the contains function.
My use case is, that I have a long Variable dimensions with many different named variables for which some are similar or following a certain naming pattern.
And then I want to select a certain variable group like in this shortened example.
I would expect that the
Contains(value)
selector behaves as callingWhere(contains(value))
I can open a PR with these changes, but I might need some help in making the Vector case work.
The text was updated successfully, but these errors were encountered: