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