摘要:
简介 在数据处理当中,经常会碰到处理时间的问题。比如:在序列预测的过程中,需要通过学习一段时间的数据,去预测未来一段时间的结果。这时候就要用到时间(time、datetime、calendar)模块,今天介绍时间模块中的time模块。 一、time模块 在Python中有三种表示时间到方式: a、t 阅读全文
posted @ 2019-07-13 23:32
helloTerry1998
阅读(1081)
评论(0)
推荐(0)
摘要:
一、Python Random模块常用方法和实例 random.random 描述:random.random()用于生成一个0到1到随机浮点数:0<=n<1.0 random.uniform 描述:random.uniform(a,b),用于生成一个指定范围内到浮点数,两个参数其中一个是上限,一个 阅读全文
posted @ 2019-07-13 22:21
helloTerry1998
阅读(502)
评论(0)
推荐(0)

浙公网安备 33010602011771号