trying to resolve exception raised in tests for filter_outliers.py