SubSelectionCondition¶
- class baybe.constraints.conditions.SubSelectionCondition[source]¶
Bases:
Condition
Class for defining valid parameter entries.
Public methods
__init__
(selection)Method generated by attrs for class SubSelectionCondition.
evaluate
(data)Evaluate the condition on a given data series.
from_dict
(dictionary)Create an object from its dictionary representation.
from_json
(string)Create an object from its JSON representation.
to_dict
()Create an object's dictionary representation.
to_json
()Create an object's JSON representation.
to_polars
(expr, /)Apply the condition to a Polars expression.
Public attributes and properties
The list of items which are considered valid.
- __init__(selection)¶
Method generated by attrs for class SubSelectionCondition.
For details on the parameters, see Public attributes and properties.
- to_json()¶
Create an object’s JSON representation.
- Return type:
- Returns:
The JSON representation as a string.