Sanitizer.synthesize¶
-
Sanitizer.
synthesize
(num_rows, produce_nans=False, progress_callback=None, n_col_intersect=None, skip_categorical=False) Generate the given number of new data rows ensuring no matches to the .
- Parameters
num_rows (int) – Number of rows to generate.
produce_nans (bool, optional) – Generate NaN values. Defaults to False.
progress_callback (Callable, optional) – Progress bar callback. Defaults to None.
skip_categorical (
bool
) – bool, whether to disallow for matches of only categorical columns, by default, False.
- Return type
DataFrame
- Returns
The generated data.