mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-12-30 10:18:50 +01: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