fixedfieldreader

Reader for lines with fixed-width fields


Keywords
fixed-width, file-format, reader
License
Apache-2.0
Install
pip install fixedfieldreader==1.0.0

Documentation

fixedfieldreader documentation

Several, particularly US government, websites provide datasets in fixed width column formats, i.e., where each field has a specified width and is padded by spaces.

For example,

Usage

For an example, see examples.ipynb.

TODO

  • add support for optional fields/mixed line formats