摘要: 应用groupby和聚合函数实现数据的分组与聚合 什么分组与聚合 分组API DataFrame.groupby(key, as_index=False) key:分组的列数据,可以多个 案例:不同颜色的不同笔的价格数据 col =pd.DataFrame({'color': ['white','r 阅读全文
posted @ 2021-01-26 21:32 ziyuliu 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 机器学习定义: We define machine learning as a set of methods that can automatically detect patterns in data, and then use the uncovered patterns to predict 阅读全文
posted @ 2021-01-26 18:20 ziyuliu 阅读(140) 评论(0) 推荐(0) 编辑