QuantityInfoBase#

class astropy.units.QuantityInfoBase(bound=False)[源代码]#

基类:ParentDtypeInfo

属性摘要

attrs_from_parent 

unit 

方法总结

default_format \(val)

possible_string_format_functions(format_)

循环访问可能的字符串派生格式函数。

属性文档

attrs_from_parent = {'dtype', 'unit'}#
unit#

方法文件

static default_format(val)[源代码]#
static possible_string_format_functions(format_)[源代码]#

循环访问可能的字符串派生格式函数。

字符串可以是内置格式的格式说明符、新样式的格式字符串或旧样式的格式字符串。

重写此方法是为了禁止打印每行中的单位,因为它已经位于列标题的顶部。