'''
SKLearn Transformer
Classes:
1. Debug -- Allows you to debug previous transformers
'''
import pdb
from sklearn.base import TransformerMixin
from sklearn.base import BaseEstimator
[docs]class Debug(BaseEstimator, TransformerMixin):
    '''
    SKLearn transformer that is to be used a debugger between different
    SKLearn transformers.
    Methods:
    1. fit - Does nothing as nothing is done at fit time.
    2. fit_transform - Performs the transform method.
    3. transform - Creates a REPL terminal to inspect the input transformed data
    '''
[docs]    def __init__(self):
        pass 
[docs]    def fit(self, data, y=None):
        '''Kept for consistnecy with the TransformerMixin'''
        return self