writeto#
- astropy.io.votable.writeto(table, file, tabledata_format=None)[source]#
Writes a
VOTableFileto a VOTABLE xml file.- Parameters:
- table
VOTableFileorTableinstance. - file
python:stror file-like (writeable) Path or file object to write to
- tabledata_format
python:str, optional Override the format of the table(s) data to write. Must be one of
tabledata(text representation),binaryorbinary2. By default, use the format that was specified in eachtableobject as it was created or read in. See Data Serialization Formats.
- table