TableList¶
- class astroquery.utils.TableList(inp)[source]¶
Bases:
listA class that inherits from
listbut included some pretty printing methods for an OrderedDict ofastropy.table.Tableobjects.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.Tableobjects, with their respective number of row and columns, contained in theTableListinstance.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.Tableobjects, with their respective number of row and columns, contained in theTableListinstance.