RST

class astropy.io.ascii.RST[source] [edit on github]

Bases: astropy.io.ascii.FixedWidth

Read or write a reStructuredText simple format table.

Example:

==== ===== ======
Col1  Col2  Col3
==== ===== ======
  1    2.3  Hello
  2    4.5  Worlds
==== ===== ======

Currently there is no support for reading tables which utilise continuation lines, or for ones which define column spans through the use of an additional line of dashes in the header.

Methods Summary

write(lines)

Methods Documentation

write(lines)[source] [edit on github]