python---time 相关, str 转timestamp

df['col'] = pd.to_datetime(df['col'])

 

from datetime import date
from datetime import datetime
d = date.today()
datetime.combine(d, datetime.min.time())

 

另外, 

http://www.cnblogs.com/shhnwangjian/p/6117602.html?utm_source=itdadao&utm_medium=referral

posted @ 2016-12-07 09:36  清源居士  阅读(2090)  评论(0编辑  收藏  举报