from_table

astropy.io.votable.table.from_table(table, table_id=None) [edit on github][source]

Given an astropy.table.Table object, return a VOTableFile file structure containing just that single table.

Parameters :

table : astropy.table.Table instance

table_id : str, optional

If not None, set the given id on the returned Table instance.

Returns :

votable : astropy.io.votable.tree.VOTableFile instance

Page Contents