I printed this table. I can do it only for first string with installed PTable.
def table_example():
"""It is needed to install PTable to have title line"""
table = PrettyTable()
table.title = 'Results for method'
table.field_names = ['EWRWE', 'WERWER']
table.add_row(['qwer', 3.14])
table.add_row(['ewr', 42.0])
print(table)
+--------------------+
| Results for method |
+---------+----------+
| EWRWE | WERWER |
+---------+----------+
| qwer | 3.14 |
| ewr | 42.0 |
+---------+----------+
I need to erase vertical line for second string too. How to do so in any python library?