摘要: 4个分位数的取法: df1 = spark.createDataFrame([(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7),(1,8),(1,9),(1,10),(2,1),(2,10),(2,100)],['id','cnt']) cnt_med_1 = F. 阅读全文
posted @ 2021-09-24 13:44 muyue123 阅读(312) 评论(0) 推荐(0) 编辑