python中函數使用全局變量方法:加global

common_words = obama_words.sort('count', ascending=False)['word'][:5] common_words = set(common_words) count = 0 def has_top_words(word_count_vector): # extract the keys of word_count_vector and
相關文章
相關標籤/搜索