QuantityInfoBase¶
-
class
astropy.units.quantity.
QuantityInfoBase
(bound=False)[source] [edit on github]¶ Bases:
astropy.utils.data_info.ParentDtypeInfo
Attributes Summary
attrs_from_parent
Methods Summary
default_format
(val)possible_string_format_functions
(format_)Iterate through possible string-derived format functions. Attributes Documentation
-
attrs_from_parent
= {'dtype', 'unit'}¶
Methods Documentation
-
static
default_format
(val)[source] [edit on github]¶
-
static
possible_string_format_functions
(format_)[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.
-