From 0971f4c43e87122c3662a0e7f9eb35e67897d471 Mon Sep 17 00:00:00 2001 From: cchoquette Date: Thu, 25 Jul 2019 17:52:05 -0400 Subject: [PATCH] Removed DropMixin --- foreshadow/cleaners/internals/drop.py | 3 +-- foreshadow/transformers/core/notransform.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/foreshadow/cleaners/internals/drop.py b/foreshadow/cleaners/internals/drop.py index 1aca34b..9dae921 100644 --- a/foreshadow/cleaners/internals/drop.py +++ b/foreshadow/cleaners/internals/drop.py @@ -4,7 +4,6 @@ import pandas as pd from foreshadow.cleaners.data_cleaner import BaseCleaner -from foreshadow.core.preparerstep import DropMixin from foreshadow.utils.validation import check_df @@ -29,7 +28,7 @@ def drop_transform(text): return text, res -class DropCleaner(BaseCleaner, DropMixin): +class DropCleaner(BaseCleaner): """Clean financial data. Note: requires pandas input dataframes. diff --git a/foreshadow/transformers/core/notransform.py b/foreshadow/transformers/core/notransform.py index e7af913..0606d19 100644 --- a/foreshadow/transformers/core/notransform.py +++ b/foreshadow/transformers/core/notransform.py @@ -1,7 +1,7 @@ """No Transform class through acts as a pass through for DataFrame and flag.""" from sklearn.base import BaseEstimator, TransformerMixin -from foreshadow.transformers.core import make_pandas_transformer +from foreshadow.transformers.core.wrapper import make_pandas_transformer @make_pandas_transformer