CSV List Reader
Learn how to implement the CSV list reader in Python.
Overview
The non-dictionary CSV reader produces a list of strings from each row. This is not what our TrainingData
collection’s load()
method expects, however.
We have two choices to meet the interface requirement for the load()
method:
-
Convert the list of column values to a dictionary. ...