报错信息:
FutureWarning: using a dict on a Series for aggregation is deprecated and will be removed in a future version. Use named aggregation instead. >>> grouper.agg(name_1=func_1, name_2=func_2) words_count = df_all_words.groupby(by=['all_words'])['all_words'].agg({"count":numpy.size})
报错代码:
words_count = df_all_words.groupby(by=['all_words'])['all_words'].agg