Closed
Description
There are many tablefmt
options, but they all have 2 spaces between columns. Can this be configured?
For example,
from tabulate import tabulate
print(tabulate([[1, 2], [3, 4]], tablefmt='plain'))
produces
1 2
3 4
My proposal is to have options padding
, left_padding
and right_padding
like PrettyTable has
from tabulate import tabulate
print(tabulate([[1, 2], [3, 4]], tablefmt='plain', left_padding=0))
produces
1 2
3 4
Metadata
Metadata
Assignees
Labels
No labels