摘要: 用python把原来的脚本重构了一下,其中写了文件操作的一些函数,如下: 阅读全文
posted @ 2018-11-21 20:50 lvmenghui001 阅读(914) 评论(0) 推荐(0) 编辑
摘要: 描述 Python time strptime() 函数根据指定的格式把一个时间字符串解析为时间元组。 语法 strptime()方法语法: 参数 string -- 时间字符串。 format -- 格式化字符串。 返回值 返回struct_time对象。 说明 python中时间日期格式化符号: 阅读全文
posted @ 2018-11-21 20:20 lvmenghui001 阅读(10741) 评论(0) 推荐(0) 编辑
摘要: DataFrame.to_dict(orient=’dict’) orient : str {‘dict’, ‘list’, ‘series’, ‘split’, ‘records’, ‘index’} Determines the type of the values of the diction 阅读全文
posted @ 2018-11-21 16:56 lvmenghui001 阅读(1773) 评论(0) 推荐(0) 编辑