{"id":12824,"date":"2021-12-10T06:27:04","date_gmt":"2021-12-10T06:27:04","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=12824"},"modified":"2021-12-10T06:27:33","modified_gmt":"2021-12-10T06:27:33","slug":"inserting-a-column-into-a-csv-file","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/inserting-a-column-into-a-csv-file\/21222.html","title":{"rendered":"Inserting a Column Into a CSV File"},"content":{"rendered":"<p>I would like to add a column to a CSV file so I can use the data with eSignal which is a stock charting program.<\/p>\n<p>The CSV file is in the following format Date,Time,Price,Volume. It does not have a header. For example here is a test.csv<\/p>\n<p>100401,090037,0.9838,1,<br \/>\n100401,090058,0.9839,1,<br \/>\n100401,090100,0.9839,9,<\/p>\n<p>I would like the data changed so it reads T,Date,Time,Price,Volume. For example.<\/p>\n<p>T,100401,090037,0.9838,1,<br \/>\nT,100401,090058,0.9839,1,<br \/>\nT,100401,090100,0.9839,9,<\/p>\n<p>Any suggestions would be greatly appreciated. I tried doing this in excel and word but the files are 300mb so it wouldn&#8217;t work.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":1},"question-category":[55],"question_tags":[],"class_list":["post-12824","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/12824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=12824"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=12824"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=12824"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=12824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}