How to read csv file into map in scala

后端 未结 0 1259
不知归路
不知归路 2020-12-01 23:16

I have data in csv like this:

Name, Price
Apple, 2.00
Banana, 3.00
Pear, 2.50

I would like to produce the following map:

Map(&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题