I'm trying to replicate something I have been able to complete with Excel for reconciling high-value/theft items in a supermarket (cigarettes) in Python.
Currently, in Excel it looks something like this:
| Code | Descr | Start of day Qty | additions | end of day Qty | sold | POS sales | Difference |
|---|---|---|---|---|---|---|---|
| 1234 | Prod1 | 5 | 2 | 3 | 4 | 5 | +1 |
| 12345 | prod2 | 10 | 8 | 2 | 16 | 16 | correct |
My progress so far is slow - I have been able to read in sales data from POS and clean it up for use, but am struggling with where to start for the example above.
Any advice or pointers on where to start or look would be appreciated. Is this overly complicated to achieve in python? Are there easier alternatives (other than excel haha)?