insert_rows方法
insert_rows
在工作表中插入多行。
def insert_rows(self, row_index, total_rows):
...
范围 | 类型 | 描述 |
---|---|---|
row_index | int | 行索引。 |
total_rows | int | 要插入的行数。 |
insert_rows
在工作表中插入多行。
def insert_rows(self, row_index, total_rows, update_reference):
...
范围 | 类型 | 描述 |
---|---|---|
row_index | int | 行索引。 |
total_rows | int | 要插入的行数。 |
update_reference | bool | 指示其他工作表中的引用是否将更新。 |
insert_rows
在工作表中插入多行。
def insert_rows(self, row_index, total_rows, options):
...
范围 | 类型 | 描述 |
---|---|---|
row_index | int | 行索引。 |
total_rows | int | 要插入的行数。 |
options | InsertOptions | 指示其他工作表中的引用是否将更新。 |