print_table
print_table(data, [sort=false], [style=markdown], [limit=0])
Print data as a formatted table
Syntaxe
print_table({col1: [1,2,3], col2: ["a","b","c"]}, sort=true, style="markdown", limit=10);
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
data | yes | - | Dictionary of lists (columns) |
sort | - | false | Sort columns alphabetically |
style | - | markdown | Table style (markdown, ASCII, plain, light, simple) |
limit | - | 0 | Maximum number of rows to display (0=all) |