![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据分析
鎏风
一个人
展开
-
python 中的各种小数点后的精度处理方式
目前用过最方便的: %例如:result为一个list,为result中每个值保留小数点后4位。 result = [("%.4f" % i) for i in result]Python 3.X对于浮点数默认提供17位数字的精度。关于单精度和双精度:单精度型float双精度型double。在Turbo C中单精度型占4个字节(32位)内存空间,其数值范围为3.4E-38~3...原创 2018-11-29 20:29:26 · 19097 阅读 · 2 评论 -
wordcloud参数
sdfg原创 2019-01-07 20:06:15 · 365 阅读 · 0 评论