-
tfidf = dict(zip(vectorizer.gㅗ et_feature_names(), vectorizer.idf_)) # 토큰이름, 토큰값 pd.DataFrame(columns=['tfidf']).from_dict(dict(tfidf), orient='index') # tfidf는 딕셔너리상태, key를 'index'로 받고 값은 그대로, 열은 'tfidf'로 한다