Parameters: |
|
---|
Abstract sheet
Clean each column heading to make it a suitable field_name. By default strip empty spaces, non ascii chars, parenthesis :param value: the column header
implement here your import
Parameters: |
|
---|
a list of field names. Optional. When present it will be used to name each column instead of looking at the column header. Field name here is the row attribute (eg: row.first_name)
a dict mapping field names to column headers, as an example, if field_name has {‘first_name’ : ‘Nome’} it means that read() will set:
kw['first_name'] = row.Nome
Return a dict of all values of a (possible) fk as dict
Parameters: |
|
---|
Fields listed in this list will be set None if empty specifically needed to prevent unique problems