Filter not working

I am using pyrasgo version 1.3.2

I am submitting code like:

ds = rasgo.get.dataset(123)
ds = ds.filter(filters = ["REGION = 'WEST'"])
ds.preview()

I get no errors but the filter is not working. I see results from other regions!

The proper parameter according to docs is filter_statements, not filters.

Currently pyrasgo will just ignore parameters that it doesn’t need, which means that this sort of typo will be hard to detect.

We look to issue a warning in future versions to help you out – but this is surely what it is.

This topic was automatically closed after 365 days. New replies are no longer allowed.