def fit(self, X):
        """
        Args:
            X: DataFrame of categorical features to encode
        """
        self.categorical_encoder = self.encoder_class(cols=list(X))
        self.categorical_encoder.fit(X)
        return self