![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
haozhepeng
这个作者很懒,什么都没留下…
展开
-
pyspark
# groupby 取最大值最小值中位数偏度峰度最后尝试成功的方案---from pyspark.sql.functions import first, collect_list, mean,stddev, skewness, kurtosis,min,max,exprdf.groupBy("pass_stop_id").agg(min("pts_num"),max("pts_num"),mean("pts_num"),expr('percentile_approx(pts_num, 0.5)'),fi原创 2021-09-22 18:17:14 · 142 阅读 · 0 评论 -
matplotlib 绘图
python使用matplotlib绘制折线图教程转https://www.cnblogs.com/onemorepoint/p/7482644.htmlMatplotlib是一个Python工具箱,用于科学计算的数据可视化。借助它,Python可以绘制如Matlab和Octave多种多样的数据图形。下面这篇文章主要介绍了python使用matplotlib如何绘制折线图的方法教程,需要的...转载 2019-08-29 18:22:20 · 145 阅读 · 0 评论