trappy should have an API to add dataframes to the run object
If run
is an instance of Run
and dfr
is a pandas DataFrame
then something like:
run.add_event("important_event", dfr, pivot="cpus")
Should let me do run.important_event.data_frame
. Any other trappy or bart class or function that expects a Run object with multiple events will be able to operate on it.