azureml-examples icon indicating copy to clipboard operation
azureml-examples copied to clipboard

Examples using expressions with TabularDataset.filter()

Open caitriggs opened this issue 2 years ago • 0 comments

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

caitriggs avatar Jul 26 '22 21:07 caitriggs