def generateSyntheticData(mfile): sdv = SDV.load(mfile) samples = sdv.sample_all(10) return samples
def genSyntheticData(mfile, rowcount): sdv = SDV.load(mfile) samples = sdv.sample_all(rowcount) df = pd.DataFrame(samples['users']) return df