Human: Calculating difference between two rows in Python / Pandas Assistant: 
Here is some code to calculat the difference between each row and the row previous to it in dataframe `data`

data.set_index('Date').diff()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.