We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Create an empty table
To be a valid table, at least an empty header row is required. E.g.:
>>> import petl.interactive as etl >>> tbl = (etl ... .wrap([[]]) ... .addcolumn('foo', ['a', 'b', 'c']) ... .addcolumn('bar', [1, 2]) ... ) >>> tbl +-------+-------+ | 'foo' | 'bar' | +=======+=======+ | 'a' | 1 | +-------+-------+ | 'b' | 2 | +-------+-------+ | 'c' | None | +-------+-------+