Danger You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software Click here to go to the new docs pages.
Danger
You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software
Click here to go to the new docs pages.
sdv.sampling.
Condition
Condition class.
This class represents a condition that is used for sampling.
column_values
A dictionary representing the desired conditions. A mapping of the column name to column value, which will be satisfied in this condition.
dict
num_rows
The number of rows to generate for this condition. Defaults to 1.
int
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(column_values[, num_rows])
Initialize self.
get_column_values()
get_column_values
Get the column value mappings in this condition.
get_num_rows()
get_num_rows
Get the desired number of rows for this condition.
Attributes