Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试根据现有表的结构创建一个新表。我正在使用以下代码:
desc = hf.root,my_table1.description._v_colobjects.copy() desc['new_col1'] = tables.StringCol(12) ... hf.createTable('/','mytable2', desc)
这是正确的做事方式吗?我不确定是否可以直接访问 _v_colobjects。