求教:数组/数据框/元素的引用


#1
# code
df = DataFrame(CSV.read("RawData.csv"))
df[1,2]
---------------------------
BoundsError: attempt to access "attempt to access a data frame with 1 columns at index 1"

Stacktrace:
 [1] getindex(::DataFrame, ::Int64, ::Int64) at C:\Users\xingc\.julia\packages\DataFrames\IKMvt\src\dataframe\dataframe.jl:272
 [2] top-level scope at In[98]:2

#2

打印下 df 看读取操作成功了没


#3

读取成功。但是引用元素失败


#4

請問有沒有個RawData.csv借測試,看起來df只有一個column,或許是因為分隔符不是","造成的?