cape_privacy.pandas.registry#
get#
get(transformation: str) -> TransformationCtor
Returns the constructor for the given key.
Arguments:
transformation
- The key of transformation to retrieve.
register#
register(label: str, ctor: TransformationCtor)
Registers a new transformation constructor under the label provided.
Arguments:
label
- The label that will be used as the key in the registryctor
- The transformation constructor