torcharrow.Column.append¶
- Column.append(values)¶
返回附加了值的列/数据框。
- 参数:
values (值列表 或 数据框) –
示例
>>> import torcharrow as ta >>> sf = ta.column([ ["hello", "world"], ["how", "are", "you"] ], dtype =dt.List(dt.string)) >>> sf = sf.append([["I", "am", "fine"]]) >>> sf 0 ['hello', 'world'] 1 ['how', 'are', 'you'] 2 ['I', 'am', 'fine'] dtype: List(string), length: 3, null_count: 0