verbs.utils.events_to_dataframe#

events_to_dataframe(events: List[Tuple]) DataFrame[source]#

Convert a list of event tuples to a Pandas dataframe

Convert a list of events returned from verbs.envs.EmptyEnv.get_event_history() to a Pandas dataframe. Note that brevity the dataframe omits the logs attached to the events.

Parameters:

events (list) – List of tuples representing simulation events.

Returns:

pd.DataFrame – DataFrame containing records of simulation events