将Google财经数据转换为数组 [英] Convert Google Finance data to Array
本文介绍了将Google财经数据转换为数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我正在尝试使用javasript从Google finance csv文件中提取数据。
http://finance.google.com/finance/hi...=25&output=csv
但是csv文件有6列(日期,打开,高,低,关闭,音量),
,我只需要两个列(日期,关闭)数组。
以下是csv的例子
Hello,
I''m trying to extract data from Google finance csv file using javasript.
http://finance.google.com/finance/hi...=25&output=csv
however the csv file has 6 columns (Date,Open,High,Low,Close,Volume),
and i want only two columns (Date,Close) in array from it.
Following is the example of csv
展开 | 选择 | Wrap | 行号
推荐答案
我也无法用逗号替换换行符
I''m also unable to replace newline character with comma
展开 | 选择 | Wrap | / span> 行号
您好我是jquery的新手。但是我对你的代码有些怀疑/不清楚。
Hi I am litlle bit new to jquery. But i got some doubts/not clear with your code..
展开 | 选择 | Wrap | 行号
Hello Raman ,
感谢您的回复,
Hello Raman,
Thanks for your reply,
这篇关于将Google财经数据转换为数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文