2017-02-22 78 views
0

我試圖加載多字頭一個CSV文件,但我不知道如何訪問多字頭領域LOAD CSV標頭

"Timestamp","Username","Name","Gender","School Education" 
"2017/02/14 4:12:48 PM GMT+5:30","[email protected]","ran","Male","Yes" 
"2017/02/14 4:13:10 PM GMT+5:30","[email protected]","she","Female","No" 
"2017/02/14 4:13:42 PM GMT+5:30","[email protected]","moaj","Male","No" 

這裏多字頭是「學校教育」

回答

2

您需要使用反引號這樣

load csv with headers from "file:///Assessment2.csv" as line 
return line.`School Education`