BEFORE: Raw Messy Supplier CSVInput File
Item #,Description,Qty on Hand,Wholesale Price,MSRP,Packaging
sku-linen-shirt-wht-m,Classic Linen Shirt - White / M, 24 , $24.50 , $49.99 ,PCS
sku-cotton-tee-blk-3pk,Organic Cotton Crewneck Tee - Black, 10 , $15.00 , $35.00 ,Pack of 3
sku-wool-socks-gry-os,Merino Wool Boot Socks - Charcoal, 4 , $6.00 , $16.00 ,Dozen
,Missing SKU Product Line Item,15,$10.00,$20.00,PCS
sku-bad-stock,Sample Item,not-a-number,$12.00,$30.00,PCS
Notice: lowercase SKUs with spaces, currency symbols in prices, pack sizes ("Pack of 3", "Dozen"), and corrupted rows at the bottom.
AFTER: Clean Standardized CSVnormalized_inventory.csv
sku,title,available_stock,raw_stock_input,pack_multiplier,unit_of_measure,cost_price,retail_price,category,barcode
SKU-LINEN-SHIRT-WHT-M,Classic Linen Shirt - White / M,24,24,1,PCS,24.50,49.99,,
SKU-COTTON-TEE-BLK-3PK,Organic Cotton Crewneck Tee - Black,30,10,3,PCS,15.00,35.00,,
SKU-WOOL-SOCKS-GRY-OS,Merino Wool Boot Socks - Charcoal,48,4,12,PCS,6.00,16.00,,
Clean numbers, uppercase SKUs, pack multipliers expanded (10×3=30 units, 4×12=48 units). Missing SKU and non-numeric rows were safely quarantined into normalization_exceptions.csv!