from_table#

astropy.io.votable.from_table(table, table_id=None)[source]#

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

Parameters:
tableTable instance
table_idstr, optional

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

Returns:
votableVOTableFile instance