woodwork.demo.
load_retail
Load a demo retail dataset into either a DataTable or a DataFrame
id (str, optional) – The name to assign to the DataTable, if returning a DataTable. If not returning a DataTable, 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.
return_dataframe (bool) – If True, will return a pandas DataFrame. If False, will return a Woodwork DataTable. Defaults to False.
A DataFrame or DataTable containing the demo data.
pd.DataFrame or ww.DataTable