mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-09 18:50:38 +08:00
ENH: made filters window safe
This commit is contained in:
@@ -167,6 +167,10 @@ class Filter(RestrictedDTypeMixin, ComputableTerm):
|
||||
output of a Pipeline and for reducing memory consumption of Pipeline
|
||||
results.
|
||||
"""
|
||||
|
||||
# make filters window safe
|
||||
window_safe = True
|
||||
|
||||
ALLOWED_DTYPES = (bool_dtype,) # Used by RestrictedDTypeMixin
|
||||
dtype = bool_dtype
|
||||
|
||||
|
||||
Reference in New Issue
Block a user