from_table

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

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

Parameters:
table : Table instance
table_id : str, optional

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

Returns:
votable : VOTableFile instance