From 8af63db7025c98c6f1f037012072f95294478320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 18 Nov 2018 23:39:03 +0100 Subject: [PATCH] Tabulate --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 1b38410..cd62a57 100644 --- a/README.md +++ b/README.md @@ -893,18 +893,6 @@ reader(adder(printer())) Libraries ========= -Terminal Table --------------- -```python -# $ pip3 install tabulate -import csv -from tabulate import tabulate -with open(, newline='') as csv_file: - reader = csv.reader(csv_file, delimiter=';') - headers = [a.title() for a in next(reader)] - print(tabulate(reader, headers)) -``` - Plot ---- ```python @@ -915,6 +903,18 @@ pyplot.show() pyplot.savefig(, transparent=True) ``` +Table +----- +```python +# $ pip3 install tabulate +import csv +from tabulate import tabulate +with open(, newline='') as csv_file: + reader = csv.reader(csv_file, delimiter=';') + headers = [a.title() for a in next(reader)] + print(tabulate(reader, headers)) +``` + UrlLib ------ ### Translate special characters