摘要: https://www.cnblogs.com/nicetoseeyou/p/10655422.html pandas之cut(),qcut() 功能:将数据进行离散化 可参见博客:https://blog.csdn.net/missyougoon/article/details/83986511 阅读全文
posted @ 2020-05-28 14:36 功夫 熊猫 阅读(1486) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/sench/p/10128216.html pandas.cut用来把一组数据分割成离散的区间。比如有一组年龄数据,可以使用pandas.cut将年龄数据分割成不同的年龄段并打上标签。 原型 pandas.cut(x, bins, right=True 阅读全文
posted @ 2020-05-28 14:24 功夫 熊猫 阅读(3261) 评论(0) 推荐(1) 编辑