ECSVHeader#

class astropy.io.misc.ecsv.ECSVHeader(n_header, n_empty, n_comment, cols, table_meta, delimiter)[source]#

Bases: object

Class representing the information in an ECSV header.

Attributes:
n_headerpython:int

Total number of header lines in the ECSV file (including empty).

n_emptypython:int

Number of empty lines in the header section.

n_commentpython:int

Number of comment lines in the header section.

colspython:list[ColumnECSV]

List of ColumnECSV objects describing the attributes of each column in header.

table_metapython:dict

Metadata associated with the table, typically parsed from the ECSV header.

delimiterpython:str

Delimiter character used to separate columns in the ECSV file.

Attributes Summary

Attributes Documentation

cols#
delimiter#
n_comment#
n_empty#
n_header#
table_meta#