could not convert string to float: '31/10/2019 00:00:00'
在数据标准化的时候报错
打印airline_features后显示结果
请问如何在数据处理中将时间形式的“31/10/2019 00:00:00”转换成浮点型?
could not convert string to float: '31/10/2019 00:00:00'
在数据标准化的时候报错
时间字符串转成float类型
>>> a = '2016-11-04 15:29:58'
>>> time.mktime(time.strptime(a, "%Y-%m-%d %H:%M:%S"))
输出后的内容 1478244598.0