You can use pandas dataframe and loc[] method to select the two rows and then calculate the difference.
Here's an example:
main.py327 chars12 lines
Output:
main.py4 chars2 lines
The output is -50
, which is the difference between the value of row "nl10107" and row "nl10318".
gistlibby LogSnag