synthetic-data icon indicating copy to clipboard operation
synthetic-data copied to clipboard

Improve the readibility and simplify _generate_uncorrelated_column_data function in TabularGenerator class

Open ksneab7 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. _generate_uncorrelated_column_data is functionally correct but has a lot of conditional statements that have big code blocks that have a good amount of repeated code. We should limit these to a function (Specifically reading in the statistics portion of the profile report we are reading in)

Describe the outcome you'd like: I would like the code to have these if conditionals either call a singular function or limit the repetitive code within the function that exists in its current state

ksneab7 avatar Aug 08 '23 14:08 ksneab7

Basically DRY-er code -- good call out. This is the link to the function in the code.

taylorfturner avatar Dec 01 '23 18:12 taylorfturner