具有如下的CSV文件(从IRIS数据集建模):
Species,values
setosa,"{""Sepal.Length"":5.1,""Sepal.Width"":3.5,""Petal.Length"":1.4,""Petal.Width"":0.2}"
setosa,"{""Sepal.Length"":4.9,""Sepal.Width"":3,""Petal.Length"":1.4,""Petal.Width"":0.2}"
setosa,"{""Sepal.Length"":4.7,""Sepal.Width"":3.2,""Petal.Length"":1.3,""Petal.Width"":0.2}"
setosa,"{""Sepal.Length"":4.6,""Sepal.Width"":3.1,""Petal.Length"":1.5,""Petal.Width"":0.2}"
setosa,"{""Sepal.Length"":5,""Sepal.Width"":3.6,""Petal.Length"":1.4,""Petal.Width"":0.2}"
setosa,"{""Sepal.Length"":5.4,""Sepal.Width"":3.9,""Petal.Length"":1.7,""Petal.Width"":0.4}"
如何将values
列作为对象而不是字符串?
使用
arangoimp --file /Desktop/iris.csv --type csv --collection iris --create-collection true
这给了我每行两个字符串....
在GUI中我得到:
虽然这是我试图实现的目标: