A | |
associate [Csv] | associate header data takes a block of data and converts each
row in turn into an assoc list which maps column header to data cell.
|
C | |
columns [Csv] |
Work out the (maximum) number of columns in a CSV file.
|
compare [Csv] |
Compare two CSV files for equality, ignoring blank cells at the end
of a row, and empty rows appended to one or the other.
|
concat [Csv] |
Concatenate CSV files so that they appear side by side, arranged
left to right across the page.
|
I | |
is_square [Csv] |
Return true iff the CSV is "square" (actually rectangular).
|
L | |
lines [Csv] |
Work out the number of lines in a CSV file.
|
load [Csv] |
Load a CSV file.
|
load_in [Csv] |
Load a CSV file.
|
load_rows [Csv] |
For very large CSV files which cannot be processed in memory at once,
this function is appropriate.
|
O | |
of_array [Csv] |
Convenience functions to convert to and from a matrix representation.
|
P | |
print [Csv] |
Print string list list - same as
save_out stdout
|
print_readable [Csv] |
Print the CSV data to
stdout in a human-readable format.
|
S | |
save [Csv] |
Save string list list to a file.
|
save_out [Csv] |
Save string list list to a channel.
|
save_out_readable [Csv] |
As for
Csv.print_readable , allowing the output to be sent to a channel.
|
set_columns [Csv] | set_columns cols csv makes the CSV data square by forcing the width
to the given number of cols .
|
set_rows [Csv] | set_rows rows csv makes the CSV data have exactly rows rows
by adding empty rows or truncating rows as necessary.
|
set_size [Csv] | set_size rows cols csv makes the CSV data square by forcing the
size to rows * cols , adding blank cells or truncating as necessary.
|
square [Csv] |
Make the CSV data "square" (actually rectangular).
|
sub [Csv] | sub r c rows cols csv returns a subset of csv .
|
T | |
to_array [Csv] | |
trim [Csv] |
This takes a CSV file and trims empty cells.
|