## sample_inventory()


Generate a product inventory dataset.


Usage


``` python
sample_inventory(n=30)
```


## Parameters


`n: int = ``30`  
Number of rows.


## Returns


`dict[str, list]`  
Column-oriented dict with product, category, price, stock, and rating columns.


## Examples

``` python
>>> data = sample_inventory(10)
>>> len(data["product"])
```

10
