MCPcopy Create free account
hub / github.com/AkaliKong/MiniOneRec / to_pickled_df

Function to_pickled_df

utility.py:18–20  ·  view source on GitHub ↗
(data_directory, **kwargs)

Source from the content-addressed store, hash-verified

16
17
18def to_pickled_df(data_directory, **kwargs):
19 for name, df in kwargs.items():
20 df.to_pickle(os.path.join(data_directory, name + '.df'))
21
22def pad_history(itemlist,length,pad_item):
23 if len(itemlist)>=length:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected