calculat the difference between each row and the row previous to it in dataframe `data`,data.set_index('Date').diff()