mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-05-23 15:26:43 +02:00
Monitor and Agent State Merge
This commit is contained in:
parent
6b1b14fa87
commit
bd3da709ad
@ -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())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user