Django Extract new rows in updated CSV file: Simple Tricks with Pandas Problem Let's describe the problem visually. Say, I have a file with the following contents: Year Code Price 1995 X1 20 1996 X2 30 1997 X4 20 2000 X4 69 Then, we get