You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please indicate the following details about the environment in which you found the bug:
SDV version: address_data branch
Python version: Any
Operating System: Any
Error Description
If you call set_address_columns after fitting or assigning transformers, the transformers are not properly updated. Additionally, sampling will fail.
Steps to reproduce
set_1= (
'country of departure','region of departure',
'region code of departure', 'city of departure',
'postal code of departure', 'street address of departure',
'secondary address of departure'
)
synthesizer=GaussianCopulaSynthesizer(metadata, locales=['en_US', 'es_ES'])
synthesizer.auto_assign_transformers(data)
synthesizer.get_transformers()
set_2= (
'country of arrival', 'region of arrival', 'region code of arrival',
'city of arrival', 'postal code of arrival', 'street address of arrival',
'secondary address of arrival'
)
synthesizer.set_address_columns(column_names=set_2, anonymization_level='street_address')
synthesizer.fit(data)
synthesizer.get_transformers()
synthetic_data=synthesizer.sample(len(data))
The text was updated successfully, but these errors were encountered:
Environment Details
Please indicate the following details about the environment in which you found the bug:
Error Description
If you call
set_address_columns
after fitting or assigning transformers, the transformers are not properly updated. Additionally, sampling will fail.Steps to reproduce
The text was updated successfully, but these errors were encountered: