sdv.SDV.sample_all

SDV.sample_all(num_rows=None, reset_primary_keys=False)[source]

Sample the entire dataset.

WARNING: This method is deprecated and will be removed in future relaeses. Please use the sample method instead.

Parameters
  • num_rows (int) – Number of rows to be sampled on the first parent tables. If None, sample the same number of rows as in the original tables.

  • reset_primary_keys (bool) – Wheter or not reset the primary key generators. Defaults to False.

Returns

Tables sampled.

Return type

dict

Raises

NotFittedError – A NotFittedError is raised when the SDV instance has not been fitted yet.