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
相关文章
相关标签/搜索