mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-06-18 18:52:52 +02:00
Monitor and Agent State Merge
This commit is contained in:
@ -64,6 +64,8 @@ class FactoryMonitor:
|
||||
def to_dict(self):
|
||||
return dict(self)
|
||||
|
||||
|
||||
|
||||
def to_pd_dataframe(self):
|
||||
import pandas as pd
|
||||
return pd.DataFrame.from_dict(self.to_dict())
|
||||
|
Reference in New Issue
Block a user