Skip to content

Pipeline

AnonymizationPipeline

AnonymizationPipeline(config: Config)

A high-level interface for orchestrating the anonymization process.

This class provides a quick way to apply anonymization techniques to a dataset, allowing users to run anonymization pipelines with minimal setup.

Attributes:

Name Type Description
config Config

Configuration that specifies the anonymization steps to execute.

run

run(dataframe: DataFrame) -> DataFrame

Runs the anonymization steps defined in the configuration against the input data.

Parameters:

Name Type Description Default
dataframe DataFrame

The input data to be anonymized.

required

Returns:

Type Description
DataFrame

The anonymized version of the input data.