pyexcel.internal.sheets.Row¶
-
class
pyexcel.internal.sheets.
Row
(matrix)[source]¶ Represent row of a matrix
¶ 1 2 3 4 5 6 7 8 9 Above column manipulation can be performed on rows similarly. 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.internal.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]
-
__init__
(matrix)¶ x.__init__(…) initializes x; see help(type(x)) for signature
Methods
__init__
(matrix)x.__init__(…) initializes x; see help(type(x)) for signature format
([row_index, formatter, format_specs])Format a row get_converter
(theformatter)return the actual converter or a built-in converter select
(indices)Delete row indices other than specified -