会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mumuxi
博客园
首页
新随笔
联系
订阅
管理
2018年7月31日
python将dataframe中的CST时间格式转化为标准的时间(年月日)
摘要: 用pandas读入文件,时间格式是CST 想转为标准的年月日格式 代码: def cst_to_str(cstTime): tempTime = time.strptime(cstTime,'%a %b %d %H:%M:%S CST %Y') resTime = time.strftime('%Y
阅读全文
posted @ 2018-07-31 14:54 mumuxi
阅读(1419)
评论(0)
推荐(0)
公告