MCPcopy Index your code
hub / github.com/Persper/code-analytics / fillin

Function fillin

tools/excel_charts/excel.py:14–21  ·  view source on GitHub ↗
(worksheet, position, num_rows, num_columns)

Source from the content-addressed store, hash-verified

12
13
14def fillin(worksheet, position, num_rows, num_columns):
15 row = position[0]
16 column = position[1]
17 data = [[None for _ in range(num_columns)] for _ in range(num_rows)]
18 for i in range(num_rows):
19 for j in range(num_columns):
20 data[i][j] = worksheet.cell(row=row + i, column=column + j).value
21 return data
22
23
24def cell(worksheet, position, step_row=0, step_column=0, index=0):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected