openalea.ratp.IOtable#
Input/output functions for tables in csv or txt format. This module may be rewrite for efficiency using pandas library.
Functions
|
Count the number of lines in a file without changing the file pointer position |
|
convert list of list into dictionary of lists with 1st row as key. |
|
convert dictionary of lists into list of lists with key as first element of each list |
|
convert dictionary into list of lists with key as first element of each list |
|
copy lines from n to m from fichier to out |
|
write table (list of list) of numbers into a csv file |
|
write table (list of list) of numbers into a txt file |
|
extract from dat (dictionary of lists) a sub-dictionary where dat[cle] respect cle ival val option oper : 'egal', 'inf', 'sup', 'infeg', 'supeg', 'diff' |
|
transpose tab |
|
transcribe a .csv file into a table (list of list) of floats |
|
transcribe a .csv file of strings into a table (list of list) of strings |
|
transcribe a .txt file into a table (list of list) of strings |
|
Convert a line of csv into a list of float |
|
Convert a line of csv into a list of float |
|
Convert a line of txt into a list of strings |
|