Last active
October 5, 2018 00:50
-
-
Save nickcheng/0318cc7b4d2c5c7a9623e7d90a30dda6 to your computer and use it in GitHub Desktop.
Revisions
-
nickcheng revised this gist
Oct 5, 2018 . No changes.There are no files selected for viewing
-
nickcheng revised this gist
Sep 11, 2018 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # Need csvkit # Ref: https://github.com/wireservice/csvkit/issues/245 csvjson --stream file_1.csv >> combined.jsonl csvjson --stream file_2.csv >> combined.jsonl in2csv --format ndjson combined.jsonl >> combined.csv -
nickcheng created this gist
Sep 11, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ csvjson --stream file_1.csv >> combined.jsonl csvjson --stream file_2.csv >> combined.jsonl in2csv --format ndjson combined.jsonl >> combined.csv