print(vectorizer.get_feature_names())
print("""
Applying fit transform onto second train data""")
X_train = vectorizer.fit_transform(train_data1 + train_data2)
print(vectorizer.get_feature_names())
Обновление имен функций в scikit TFIdfVectorizer