2018年9月17日

摘要: x=[1 ,1 ,4, 4, 5 ,7, 7, 7, 9] res=pd.cut(x,bins=4,include_lowest=True)#[(0.991, 3.0], (0.991, 3.0], (3.0, 5.0], (3.0, 5.0], (3.0, 5.0], (5.0, 7.0], (5 阅读全文
posted @ 2018-09-17 10:55 happygril3 阅读(89) 评论(0) 推荐(0)

导航