Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahalev/python-microgrid
/ serialize
Method
serialize
src/pymgrid/utils/logger.py:47–48 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
45
return
pd.DataFrame(self.data)
46
47
def
serialize(self, key):
48
return
{key: self.to_frame()}
if
len(self) > 0
else
{}
49
50
def
__len__(self):
51
return
self._log_length
Callers
nothing calls this directly
Calls
1
to_frame
Method · 0.95
Tested by
no test coverage detected