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
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
values
()Methods Documentation
- format_table_list()[source]¶
Prints the names of all
astropy.table.Table
objects, with their respective number of row and columns, contained in theTableList
instance.