pasteur.encode.Encoder#
- class pasteur.encode.Encoder(*args, _from_factory=False, **kwargs)[source]#
Attributes
Methods
decode(data)encode(tables, ctx, ids)fit(attrs, tables, ctx_attrs, ctx, ids)get_factory(*args, **kwargs)Returns a factory that registers this module to the system.
- decode(data)[source]#
- Return type:
tuple[dict[str,LazyDataset[DataFrame]],dict[str,dict[str,LazyDataset[DataFrame]]],dict[str,LazyDataset[DataFrame]]]
- encode(tables, ctx, ids)[source]#
- Return type:
dict[str,Union[Any,LazyDataset[Any]]]
- classmethod get_factory(*args, **kwargs)#
Returns a factory that registers this module to the system.
Any *args and **kwargs passed to this function will be saved and passed to the module’s __init__() method when calling build().
-
name:
str= ''#