def transform(self, X):
        return _transform_selected(X, self._transform,
                                   self.categorical_features, copy=True)
finalize state on states that have been inserted or updated,
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/preprocessing/data.py/OneHotEncoder.transform--crossover with--dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py/_finalize_insert_update_commands