def fit_transform(self, X, y=None):
        return self._transform(X, fitting=True)
Learn a list of feature name -> indices mappings and transform X.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/feature_extraction/dict_vectorizer.py/DictVectorizer.fit_transform