woodwork.demo.
load_retail
Load a demo retail dataset into a DataFrame, optionally initializing Woodwork’s typing information.
id (str, optional) – The name to assign to the DataFrame, if returning a DataFrame with Woodwork typing information initialized. If not returning a DataFrame with Woodwork initialized, this will be ignored. Defaults to demo_retail_data.
demo_retail_data
nrows (int, optional) – The number of rows to return in the dataset. If None, will return all possible rows. Defaults to None.
init_woodwork (bool) – If True, will return a pandas DataFrame with Woodwork typing information initialized. If False, will return a DataFrame without Woodwork initialized. Defaults to False.
A DataFrame containing the demo data with Woodwork typing initialized. If init_woodwork is False, will return an uninitialized DataFrame.
pd.DataFrame