Reference/API#
astropy.io.ascii Package#
An extensible ASCII table reader and writer.
Functions#
  | 
Return a tuple containing a function which converts a list into a numpy array and the type produced by the converter function.  | 
Return a traceback of the attempted read formats for the last call to   | 
|
  | 
Initialize a table reader allowing for common customizations.  | 
  | 
Initialize a table writer allowing for common customizations.  | 
  | 
Read the input   | 
  | 
Set the default value of the   | 
  | 
Write the input   | 
Classes#
  | 
AASTeX format table.  | 
  | 
Subclass of all other data types.  | 
  | 
Base table data reader.  | 
Base table header reader.  | 
|
Get the lines from the table input and return a list of lines.  | 
|
Output table as a dict of column objects keyed on column name.  | 
|
Class providing methods to read and write an ASCII table using the specified header, data, inputter, and outputter instances.  | 
|
Base splitter that uses python's split method to do the work.  | 
|
  | 
Character-delimited table with a single header line at the top.  | 
Basic table Data Reader.  | 
|
Basic table Header Reader.  | 
|
  | 
CDS format table.  | 
  | 
Table column.  | 
Character-delimited table with column names in a comment line.  | 
|
  | 
Configuration parameters for   | 
Inputter where lines ending in   | 
|
  | 
CSV (comma-separated-values) table.  | 
  | 
DAOphot format table.  | 
Default class to split strings into columns using python csv.  | 
|
  | 
ECSV (Enhanced Character Separated Values) format table.  | 
  | 
This class is intended to handle the same format addressed by the ordinary   | 
  | 
A faster version of the   | 
  | 
A faster version of the ordinary   | 
  | 
This class uses the fast C engine to read tables with no header line.  | 
  | 
A faster version of the   | 
  | 
A faster version of the ordinary   | 
  | 
Fixed width table with single header line defining column names and positions.  | 
Base table data reader.  | 
|
Fixed width table header reader.  | 
|
  | 
Fixed width table which has no header line.  | 
Split line based on fixed start and end positions for each   | 
|
  | 
Fixed width table which has two header lines.  | 
Describes floating-point data.  | 
|
  | 
HTML format table.  | 
Indicates that an input table is inconsistent in some way.  | 
|
  | 
Describes integer data.  | 
  | 
IPAC format table.  | 
  | 
LaTeX format table.  | 
  | 
AAS MRT (Machine-Readable Table) format table.  | 
  | 
Character-delimited table with no header line.  | 
  | 
Superclass for   | 
  | 
Indicates that a column consists of numerical data.  | 
Indicates that a reader cannot handle a passed parameter.  | 
|
  | 
Quick and Dandy Plot table.  | 
  | 
reStructuredText simple format table.  | 
  | 
Tab-separated file with an extra line after the column definition line that specifies either numeric (N) or string (S) data.  | 
SExtractor format table.  | 
|
  | 
Indicates that a column consists of text data.  | 
  | 
Tab-separated table.  | 
Output the table as an astropy.table.Table object.  | 
|