How to iterate over CSV file and create an object from the first element and the rest using Pandas?

前端 未结 0 1763
不知归路
不知归路 2021-01-24 06:22

I have the following code:

   def _load_data_set(self, dataset_file):
        data_frame = pandas.read_csv(dataset_file)
        table = data_frame.values.tolist(         


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