Pandas 操作

df[‘a’]=pd.to_datetime(df[‘a’])
a=savedata[savedata[‘data’]>=pd.datetime(2017,1,1)]

你可能感兴趣的:(Pandas)