BigDL-2.x
BigDL-2.x copied to clipboard
New operations for table.py
- In friesian/table.py, update function "to_list" which is able to contains mutiple column.
- In friesian/table.py, add function "iloc" which is able to change the value of a cell given column and indexes.
- In friesian/table.py, add function "sort" which is able to sort the dataframe with given columns and orders.
- In friesian/table.py, add function "append_list" which is able to append the table with given value and indexes.
- In friesian/table.py, add function "shift" which is able to shift column with given value and indexes.
- Write corresponding testing in test_table.py.
iloc and append_list may be hard to work for big data, pending on this. Let's put shift in a new PR and merge it first. cc @jason-dai