Supported Formats
A full list of the supported format
values and corresponding format types
for ASCII tables is given below. The Write
column indicates which formats
support write functionality, and the Fast
column indicates which formats
are compatible with the fast Cython/C engine for reading and writing.
Format
Write
Description
aastex
AASTex
: AASTeX deluxetable used for AAS journals
basic
Basic
: Basic table with custom delimiters
Cds
: CDS format table
commented_header
CommentedHeader
: Column names in a commented line
Csv
: Basic table with comma-separated values
daophot
Daophot
: IRAF DAOphot format table
Ecsv
: Enhanced CSV format (recommended)
fixed_width
FixedWidth
: Fixed width
fixed_width_no_header
FixedWidthNoHeader
: Fixed-width with no header
fixed_width_two_line
FixedWidthTwoLine
: Fixed-width with second header line
HTML
: HTML format table
Ipac
: IPAC format table
latex
Latex
: LaTeX table
Mrt
: AAS Machine-Readable Table format
no_header
NoHeader
: Basic table with no headers
QDP
: Quick and Dandy Plotter files
Rdb
: Tab-separated with a type definition header line
RST
: reStructuredText simple format table
sextractor
SExtractor
: SExtractor format table
Tab
: Basic table with tab-separated values
The details of using astropy.io.ascii
are provided in the following sections:
Reading tables
Reading Tables