TwoTableSynthesizer.synthesizeΒΆ

TwoTableSynthesizer.synthesize(num_rows, produce_nans=False, progress_callback=None)

Generate the given number of new data rows for table 1, and the associated rows of table 2

Parameters
  • num_rows (int) – The number of rows to generate for first table.

  • produce_nans (bool) – Whether to produce NaNs.

  • progress_callback (Optional[Callable[[int], None]]) – Progress bar callback.

Returns

The generated data for table 1. df_2 (pd.DataFrame): The generated data for table 2.

Return type

df_1 (pd.DataFrame)