File readcsv

Aus ExpeccoWiki

Wechseln zu: Navigation, Suche

Schema

File readcsv.jpg

Description

  • Read a csv file. The first line of the file is interpreted as a header line (describe the following csv values). The following lines are interpreted as data lines. Every data line must contain the same number of entries like the header line. For each data line a dictionary is created. In these dictionaries the keys are the elements from the header line and the values are the corresponding elements of the data line.
  • Each Dictionary is written to the output CSVLineValues. The collection of all Dictionaries is written to the output CSVValueList.



Back to Standard Library.
Previous: File [ NewTempFnIn ]
Next: File [ Read Key-Value Pairs ]


Meine Werkzeuge