sdv.metadata.dataset.Metadata.transform

Metadata.transform(table_name, data)[source]

Transform data for a given table.

If the HyperTransformer for a table is None it is created.

Parameters
  • table_name (str) – Name of the table that is being transformer.

  • data (pandas.DataFrame) – Table data.

Returns

Transformed data.

Return type

pandas.DataFrame