Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to generate keys to DataProcessor #994

Closed
amontanez24 opened this issue Sep 2, 2022 · 0 comments · Fixed by #1017
Closed

Add method to generate keys to DataProcessor #994

amontanez24 opened this issue Sep 2, 2022 · 0 comments · Fixed by #1017
Assignees
Labels
feature request Request for a new feature
Milestone

Comments

@amontanez24
Copy link
Contributor

Problem Description

For certain multi-table algorithms, it would be good if the primary keys were available after the transform step. This means they can't be created at the end during the reverse_transform.

Expected behavior

  • Add a method generate_primary_key to the DataProcessor.

    • It should take one parameter: num_rows - the number of rows to generate
    • This method should use the create_anonymized_column method that will be added to the HyperTransformer in this issue.
    • It should use the metadata to figure out how to initialize the AnonymizedFaker based on the sdtype for the primary key and then generate the column(s)
  • This method should be added to the transform process when is_condition is False.

@amontanez24 amontanez24 added feature request Request for a new feature new Automatic label applied to new issues labels Sep 2, 2022
@amontanez24 amontanez24 added this to the 1.0.0 milestone Sep 2, 2022
@npatki npatki removed the new Automatic label applied to new issues label Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants