azureml-examples
azureml-examples copied to clipboard
Examples using expressions with TabularDataset.filter()
What example? Describe it
There is extremely limited documentation on the use of supported expressions to use with the experimental Dataset.filter() feature.
The only two examples provided are filtering based on another column equality and starts_with()
method.
It's difficult to try out this feature without knowing a list of supported expressions. For example, I wanted to filter a TabularDatsaet based on a list of values in a column using dataset.filter(dataset['column'].isin(['a','b'])).to_pandas_dataframe()
but this immediately throws an error: AttributeError: 'RecordFieldExpression' object has no attribute 'isin'
Ask
Provide documentation or more examples of supported filter expressions we can use with TabularDataset.filter