insert_rows method

insert_rows(self, row_index, total_rows)

Inserts multiple rows into the worksheet.


def insert_rows(self, row_index, total_rows):
    ...
ParameterTypeDescription
row_indexintRow index.
total_rowsintNumber of rows to be inserted.

insert_rows(self, row_index, total_rows, update_reference)

Inserts multiple rows into the worksheet.


def insert_rows(self, row_index, total_rows, update_reference):
    ...
ParameterTypeDescription
row_indexintRow index.
total_rowsintNumber of rows to be inserted.
update_referenceboolIndicates if references in other worksheets will be updated.

insert_rows(self, row_index, total_rows, options)

Inserts multiple rows into the worksheet.


def insert_rows(self, row_index, total_rows, options):
    ...
ParameterTypeDescription
row_indexintRow index.
total_rowsintNumber of rows to be inserted.
optionsInsertOptionsOptions for inserting operation.

See Also