pyexcel.sheets.Row¶
-
class
pyexcel.sheets.
Row
(matrix)[source]¶ Represet row of a matrix
¶ 1 2 3 4 5 6 7 8 9 Above column manipluation can be performed on rows similiarly. This section will not repeat the same example but show some advance usages.
>>> import pyexcel as pe >>> data = [[1,2,3], [4,5,6], [7,8,9]] >>> m = pe.sheets.Matrix(data) >>> m.row[0:2] [[1, 2, 3], [4, 5, 6]] >>> m.row[0:3] = [0, 0, 0] >>> m.row[2] [0, 0, 0] >>> del m.row[0:2] >>> m.row[0] [0, 0, 0]
Methods
__init__
(matrix)select
(indices)Delete row indices other than specified