QuantityInfoBase

class astropy.units.QuantityInfoBase(bound=False)[source] [edit on github]

Bases: astropy.utils.data_info.ParentDtypeInfo

Attributes Summary

attrs_from_parent

Methods Summary

default_format()
possible_string_format_functions() Iterate through possible string-derived format functions.

Attributes Documentation

attrs_from_parent = {'dtype', 'unit'}

Methods Documentation

static default_format()[source] [edit on github]
static possible_string_format_functions()[source] [edit on github]

Iterate through possible string-derived format functions.

A string can either be a format specifier for the format built-in, a new-style format string, or an old-style format string.

This method is overridden in order to suppress printing the unit in each row since it is already at the top in the column header.