as title ,
When the input text is small size(comparing),
corpus_stats(corpus) would return one dataframe of 2 columns.
It will cause failure in the next step, when call the "pd.DataFrame( latest_stats, columns = ['category_id','file_id']+list(topic_dict.values()))"
as title , When the input text is small size(comparing), corpus_stats(corpus) would return one dataframe of 2 columns. It will cause failure in the next step, when call the "pd.DataFrame( latest_stats, columns = ['category_id','file_id']+list(topic_dict.values()))"