Package Camelot :: Package camelot :: Package view :: Package wizard :: Module importwizard :: Class RowData
[frames] | no frames]

Class RowData

source code


Class representing the data in a single row of the imported file as an object with attributes column_1, column_2, ..., each representing the data in a single column of that row.

since the imported file might contain less columns than expected, the RowData object returns None for not existing attributes

Instance Methods
 
__init__(self, row_number, row_data)
[column_1_data, column_2_data, ...] for a single row
source code
 
__getattr__(self, attr_name) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, row_number, row_data)
(Constructor)

source code 
[column_1_data, column_2_data, ...] for a single row
Parameters:
  • row_data - a list containing the data
Overrides: object.__init__