sample_missing()
Generate a dataset with scattered missing values.
Usage
sample_missing(n=12)Parameters
n: int = 12-
Number of rows.
Returns
dict[str, list]-
Column-oriented dict with name, value, category, and score columns. Some cells are None.
Examples
>>> data = sample_missing(5)
>>> None in data["value"]
True