rows
rows copied to clipboard
A common, beautiful interface to tabular data, no matter the format
- Default: `True` - If `not has_headers and fields is None and import_fields is None`: create field names automatically (`['field0', 'field1', ... 'fieldN']`).
This function is a bottleneck since the refactoring of it on ca865ca. The following file shows 3 different implementations (the old one, the current one and a proposed one): ```python...
Sometimes does not matter the order in which the fields will be shown. The library should be able to get any `Mapping` object as `fields` and then automatically convert into...
Currently, I'm using rows to import a CSV file like this: ``` LAST NAME, FIRST NAME;LANGUAGE;Address 1;Address 2;RATE;Mobile;Home;Fax;email Fontes, Bernardo;Portuguese, English;0, Rua dos Bobos;São Paulo, RJ 0101010;$10;1234-4321;1234-4321;1234-4321;[email protected] ``` But is...
Currently, if we have a csv file with no header rows cli tries to use it's first line as a header. We need a command line option to tell rows...
If we accept field instances we can support easily customize fields' behavior without needing to subclass, like: ```python table = rows.import_from_csv('filename.csv', force_types={'data': rows.fields.DateField(input_format='%d/%m/%Y')}) ``` We may force all received items...
In #108 we're going to add support for compressed files and then we also need to support archive files, such as `.tar`, `.zip`, `.rar`. - [ ] Change `rows.utils.compress` and...
The `slug` function implemented in `rows` is simple and effective but may not work for other alphabets. We should consider using one of the following libraries: - [unicode-slugify](https://github.com/mozilla/unicode-slugify) - [python-slugify](https://github.com/un33k/python-slugify)...