craftutils.wrap.dragons.Table.MaskedColumn.pformat(max_lines=None, show_name=True, show_unit=False, show_dtype=False, html=False)

Return a list of formatted string representation of column values.

If no value of max_lines is supplied then the height of the screen terminal is used to set max_lines. If the terminal height cannot be determined then the default will be determined using the astropy.conf.max_lines configuration item. If a negative value of max_lines is supplied then there is no line limit applied.

Parameters

max_linesint

Maximum lines of output (header + data rows)

show_namebool

Include column name. Default is True.

show_unitbool

Include a header row for unit. Default is False.

show_dtypebool

Include column dtype. Default is False.

htmlbool

Format the output as an HTML table. Default is False.

Returns

lineslist

List of lines with header and formatted column values