from abc import ABC, abstractmethod
import pandas as pd
from sklearn.base import BaseEstimator, TransformerMixin


class BaseTransform(ABC, BaseEstimator, TransformerMixin):

    def __init__(self) ->None:
        pass

    def __call__(self, df: pd.DataFrame) ->pd.DataFrame:
        return self.transform(df)

    def fit(self, X: pd.DataFrame):
        return self

    @abstractmethod
    def transform(self, df: pd.DataFrame) ->pd.DataFrame:
        raise NotImplementedError()

fd2e36a6a61270e8f7ee23f7f9e81256c95a2478
<mask token>


class BaseTransform(ABC, BaseEstimator, TransformerMixin):
    <mask token>

    def __call__(self, df: pd.DataFrame) ->pd.DataFrame:
        return self.transform(df)
    <mask token>

    @abstractmethod
    def transform(self, df: pd.DataFrame) ->pd.DataFrame:
        raise NotImplementedError()

<mask token>


class BaseTransform(ABC, BaseEstimator, TransformerMixin):

    def __init__(self) ->None:
        pass

    def __call__(self, df: pd.DataFrame) ->pd.DataFrame:
        return self.transform(df)
    <mask token>

    @abstractmethod
    def transform(self, df: pd.DataFrame) ->pd.DataFrame:
        raise NotImplementedError()

<mask token>


class BaseTransform(ABC, BaseEstimator, TransformerMixin):

    def __init__(self) ->None:
        pass

    def __call__(self, df: pd.DataFrame) ->pd.DataFrame:
        return self.transform(df)

    def fit(self, X: pd.DataFrame):
        return self

    @abstractmethod
    def transform(self, df: pd.DataFrame) ->pd.DataFrame:
        raise NotImplementedError()

from abc import ABC, abstractmethod
import pandas as pd
from sklearn.base import BaseEstimator, TransformerMixin


class BaseTransform(ABC, BaseEstimator, TransformerMixin):

    def __init__(self) ->None:
        pass

    def __call__(self, df: pd.DataFrame) ->pd.DataFrame:
        return self.transform(df)

    def fit(self, X: pd.DataFrame):
        return self

    @abstractmethod
    def transform(self, df: pd.DataFrame) ->pd.DataFrame:
        raise NotImplementedError()
