Skip to content

Commit 04cf612

Browse files
committed
Make filters available in Orange.data namespace.
1 parent 2e04b0c commit 04cf612

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Orange/data/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
from .storage import *
88
from .table import *
99
from .io import *
10+
from .filter import *

Orange/data/filter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
from Orange.util import Enum
1313

1414

15+
__all__ = ["IsDefined", "HasClass", "Random", "SameValue", "Values",
16+
"FilterDiscrete", "FilterContinuous", "FilterString",
17+
"FilterStringList", "FilterRegex"]
18+
19+
1520
class Filter(Reprable):
1621
"""
1722
The base class for filters.

0 commit comments

Comments
 (0)