bonobo-etl

Why does Bonobo's CsvReader() method yield tuples and not dicts?

非 Y 不嫁゛ 提交于 2020-01-15 09:41:11
问题 I can't seem to get the CsvReader in the Bonobo ETL library to yield anything other than tuples. The documentation seems to indicate that it should be yielding dicts and not tuples but try as I might I can't seem to get it to pass anything other than tuples. I'd really like to have access to the column names attached to each value. It throws an error that suggests the column names are present when passed but in the transform method I have defined, only the values themselves are available.