Skip to content

Instantly share code, notes, and snippets.

@porimol
Last active July 29, 2017 14:57
Show Gist options
  • Save porimol/e312eb4c3bd49c2421d0cdf5c1e0a0f0 to your computer and use it in GitHub Desktop.
Save porimol/e312eb4c3bd49c2421d0cdf5c1e0a0f0 to your computer and use it in GitHub Desktop.
Brand ID update in product csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 1 column, instead of 3. in line 2.
brand.csv
-----------------------------------
bid,brand,web_site
1,sqaure,sqaure.com.bd
2,beximco,beximco.com.bd
product.csv
-----------------------------------
pid,brand_id,brand,product_name,address
1,null,sqaure,napa extra,null
2,null,beximco,arixon,null
3,null,beximco,Arlin,
4,null,beximco,Clinacyn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment