pyexcel.Sheet.set_row_at¶
-
Sheet.
set_row_at
(row_index, data_array, starting=0)¶ Update a row data range
It works like this if the call is: set_row_at(2, [‘N’, ‘N’, ‘N’], 1):
A B C 1 3 5 2 N N <- row_index = 2 ^starting = 1
This function will not set element outside the current table range
Parameters: - row_index (int) – which row to be modified
- data_array (list) – one dimensional array
- starting (int) – from which index, the update happens
Raises: IndexError – if row_index exceeds row range or starting exceeds column range