torcharrow.DataFrame.append¶
- DataFrame.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