lenskit.data.DataContainer#

class lenskit.data.DataContainer#

A general container for the data backing a dataset.

schema: lenskit.data.schema.DataSchema#
tables: dict[str, pyarrow.Table]#
normalize()#

Normalize data to adhere to the expectations of the most current schema.

__getstate__()#
__setstate__(state)#
save(path)#

Save the data to disk.

Parameters:

path (str | os.PathLike[str])

classmethod load(path)#

Load data from disk.

Parameters:

path (str | os.PathLike[str])