pasteur.extras.encoders.MareEncoder#
- class pasteur.extras.encoders.MareEncoder(*args, _from_factory=False, **kwargs)[source]#
Attributes
Methods
decode(enc)- rtype:
DataFrame
encode(data)- rtype:
DataFrame
finalize(meta, tables, ids)- rtype:
dict[str,Any]
fit(attr, data)get_factory(*args, **kwargs)Returns a factory that registers this module to the system.
- rtype:
dict[str|tuple[str],Attribute]
reduce(other)undo(meta, data)Undoes the process of finalize(), returns a tuple of (ids, tables).
- decode(enc)#
- Return type:
DataFrame
- encode(data)#
- Return type:
DataFrame
- fit(attr, data)#
- 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= 'mare'#
- reduce(other)#