matplotlib plot datetime in pandas DataFrame,df['date_int'] = df.date.astype(np.int64)