datetime.now()
用于获取当前的日期和时间
print pd.datetime.now()
#encoding:utf8 import pandas as pd print("(pd.datetime.now()):") print (pd.datetime.now()) time = pd.Timestamp('2018-11-01') print("time = pd.Timestamp('2018-11-01')") print(time) time = pd.Timestamp(1588686880,unit='s