TESTER

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

NameRequiredDefaultDescription
datayes-Dictionary of lists (columns)
sort-falseSort columns alphabetically
style-markdownTable style (markdown, ASCII, plain, light, simple)
limit-0Maximum number of rows to display (0=all)