I'm working on a spotfire script to build up a data table row by row from a data table each time I press a button. At the same time I'm replacing values in the data table. The newly generated table is used as an input for some visualizations. The users should be able to play around with different settings, so they might want to revert some of the transformations done earlier.
I add single rows from a stream like described here: spotfire ironpython : Append new row to a data-table
And I'm replacing specific values in the original data table using: Spotfire ironpython replacing data table values
Is there an ironpythonic way to undo or delete those transformations? Of course I can just add further transformations to delete rows or replace values back to the original value, but In the end I'm getting a long list of "Added rows" and "Deleted rows" transformations in the generated table and a lot of "Replace specific value" transformations in the original data table.