df = get_demo_data()
df| order_id | product | quantity | defects | production_time | |
|---|---|---|---|---|---|
| 0 | 101 | Widget A | 50 | 2 | 120 |
| 1 | 102 | Widget B | 30 | 1 | 95 |
| 2 | 103 | Widget A | 75 | 3 | 150 |
| 3 | 104 | Widget C | 20 | 0 | 80 |
| 4 | 105 | Widget B | 45 | 2 | 110 |
This file will become your README and also the index of your documentation.
If you are new to using nbdev here are some useful pointers to get you started.
| order_id | product | quantity | defects | production_time | |
|---|---|---|---|---|---|
| 0 | 101 | Widget A | 50 | 2 | 120 |
| 1 | 102 | Widget B | 30 | 1 | 95 |
| 2 | 103 | Widget A | 75 | 3 | 150 |
| 3 | 104 | Widget C | 20 | 0 | 80 |
| 4 | 105 | Widget B | 45 | 2 | 110 |
*************** filter_products ***************
Total Time: 1.75 ms
Start: 2025-12-18 16:05:55.759474
End: 2025-12-18 16:05:55.761225
Input DataFrame:
order_id product quantity defects production_time
0 101 Widget A 50 2 120
1 102 Widget B 30 1 95
2 103 Widget A 75 3 150
: : : : :
3 104 Widget C 20 0 80
1 102 Widget B 30 1 95
4 105 Widget B 45 2 110
0 101 Widget A 50 2 120
2 103 Widget A 75 3 150
: : : : :
2 103 Widget A 75 3 150
3 104 Widget C 20 0 80
4 105 Widget B 45 2 110
Input: 5 rows, 5 cols
↓ ↓
Diff: -1 rows, 0 cols
↓ ↓
Output: 4 rows, 5 cols
Output DataFrame:
order_id product quantity defects production_time
0 101 Widget A 50 2 120
1 102 Widget B 30 1 95
2 103 Widget A 75 3 150
: : : : :
4 105 Widget B 45 2 110
0 101 Widget A 50 2 120
2 103 Widget A 75 3 150
1 102 Widget B 30 1 95
: : : : :
1 102 Widget B 30 1 95
2 103 Widget A 75 3 150
4 105 Widget B 45 2 110
Install latest from the GitHub repository:
or from pypi
Documentation can be found hosted on this GitHub repository’s pages. Additionally you can find package manager specific guidelines on pypi.
Fill me in please! Don’t forget code examples: