Plot cumulative results from datatable

Hi!
Im trying to replace my excel filtering with dash datatable.
When I filter my datatable that Iv’e imported from excel I want my ‘results’ column to be cumulative and plotted against another column ‘date’ or count.

Line graph example:

First data point: 100
y is count 1
x is result 100

Second data point: 150
y is count 2
x is result 50

EDIT: Solved.
dff[‘result’].cumsum()