Skip to content

cape_privacy.spark.transformations.redaction#

ColumnRedact Objects#

class ColumnRedact()

Redacts columns from a Spark dataframe.

Attributes:

  • columns - Which columns are redacted.

RowRedact Objects#

class RowRedact()

Redacts rows satisfying some condition from a Spark DataFrame.

Attributes:

  • condition - When this condition evaluates to True for a row, that row will be dropped.