TableList¶
-
class
astroquery.utils.
TableList
(inp)[source]¶ Bases:
list
A class that inherits from
list
but included some pretty printing methods for an OrderedDict ofastropy.table.Table
objects.HINT: To access the tables by # instead of by table ID: >>> t = TableList([(‘a’,1),(‘b’,2)]) >>> t[1] 2 >>> t[‘b’] 2
Methods Summary
format_table_list
()Prints the names of all astropy.table.Table
objects, with their respective number of row and columns, contained in theTableList
instance.keys
()pprint
(**kwargs)Helper function to make API more similar to astropy.Tables print_table_list
()values
()Methods Documentation