Documentation clarification for read/write

In Read CSV (and maybe one or two other places),..

"How Does service.read_file(format='csv') Work?:

The above method call opens the reject_data file and creates a dictionary for each line in the file(besides the first). The top line of reject_data will be the names for all the dictionaries, and all subsequent lines will be values."

This seems wrong, I suspect that there is a dictionary for each Column in the file (not each line), using the stock symbol (or perhaps another attribute) as the key.

I've used dictionaries in C# (and hash tables in Perl) in the same fashion, using stock symbol as the key.


Sign In or Register to comment.