Returns a new Datasheet starting at row i and column j and spanning n rows and m columns.
(self, i, j, n, m)
| 1853 | row[j] = function(item) |
| 1854 | |
| 1855 | def slice(self, i, j, n, m): |
| 1856 | """ Returns a new Datasheet starting at row i and column j and spanning n rows and m columns. |
| 1857 | """ |
| 1858 | return Datasheet(rows=[list.__getitem__(self, i)[j:j+m] for i in range(i, i+n)]) |
| 1859 | |
| 1860 | def copy(self, rows=ALL, columns=ALL): |
| 1861 | """ Returns a new Datasheet from a selective list of row and/or column indices. |