Package gavo :: Package formats :: Module csvtable
[frames] | no frames]

Module csvtable

source code

Wrinting data in CSV.

Functions
 
writeDataAsCSV(table, target, acquireSamples=True, dialect=u'excel', headered=False)
writes table to the file target in CSV.
source code
 
writeDataAsHeaderedCSV(table, target, acquireSamples=True) source code
Variables
  __package__ = 'gavo.formats'
Function Details

writeDataAsCSV(table, target, acquireSamples=True, dialect=u'excel', headered=False)

source code 

writes table to the file target in CSV.

The CSV format chosen is controlled through the async/csvDialect config item.

If headered is True, we also include table params (if present) in comments.