Note
1.Time Series
#1
from datetime import datetime
now=datetime.now()
now.year
now.month
now.day
#2
from datetime import timedelta
[in]start_time=datetime(2011,1,8)
[in]start+timedelta(12)
[out]datetime.datetime(2011,1,19,0,0)
#3
字符串与datetime的相互转换
strftime('%Y-%m-%d')函数
日期格式的解析
from dateutils.parser import parse
2频率与日期偏移
[in-1]from pandas.tseries.offsets import Hour,Minute
pd.date_range('1/1/2000','1/3/2000',freq='4h')