求教!!!像如下的数据
Aaron,OperatingSystem,100
Aaron,Python,50
Aaron,ComputerNetwork,30
Aaron,Software,94
Abbott,DataBase,18
Abbott,Python,82
Abbott,ComputerNetwork,76
我想将其按照 ","拆分是用
val par = lines.map(__.split(",")(0))
这样的我可以在后面加数字,得到一列数据,
但要如何同时得到多列数据呢?