BaseColumnInfo#
- class astropy.utils.data_info.BaseColumnInfo(bound=False)[源代码]#
基类:
DataInfo
任何可以是星表中的列的基本信息类。
至少有两个类继承自此:
ColumnInfo:对于本地astropy Column/MaskedColumn对象mixinfo:对于mixin Column对象
注意,这个类是在这里定义的,这样mixin就可以在不导入表包的情况下使用它。
属性摘要
方法总结
adjust_indices
(index, value, col_len)修改列后调整信息索引。
返回一个数组列表,这些数组可以按字典排序以表示父列的顺序。
iter_str_vals
\()这是mixin安全版本结构柱.
merge_cols_attributes
(cols, ...)合并和验证属性的实用方法
attrs
对于输入表列cols
.slice_indices
(col_slice, item, col_len)给定一个切片对象,修改其索引以正确表示切片。
属性文档
- attr_names = {'description', 'dtype', 'format', 'indices', 'meta', 'name', 'parent_table', 'unit'}#
- indices#
- parent_table#
方法文件