INNER CODE UNIT · Python
__init__
AnotherSamWilson/miceforest · miceforest/imputation_kernel.py:143
def __init__(
self,
data: DataFrame,
num_datasets: int = 1,
variable_schema: Optional[Union[List[str], Dict[str, List[str]]]] = None,
imputation_order: Literal[
"ascending", "descending", "roman", "latin"
] = "ascending",
mean_match_candidates: Union[
int, Dict[str, int]
] = _DEFAULT_MEANMATCH_CANDIDATES,
mean_match_strategy: Optional[
Union[str, Dict[str, str]]
] = _DEFAULT_MEANMATCH_STRATEGY,
data_subset: Union[int, Dict[str, int]] = _DEFAULT_DATA_SUBSET,
initialize_empty: bool = False,
save_all_iterations_data: bool = True,
copy_data: bool = True,