We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a6e492 commit 2747542Copy full SHA for 2747542
README.md
@@ -1211,7 +1211,6 @@ Plot
1211
```python
1212
# $ pip3 install matplotlib
1213
from matplotlib import pyplot
1214
-
1215
pyplot.plot(<data_1> [, <data_2>, ...])
1216
pyplot.show()
1217
pyplot.savefig(<filename>, transparent=True)
@@ -1237,11 +1236,11 @@ Table
1237
1236
#### Prints CSV file as ASCII table:
1238
1239
# $ pip3 install tabulate
1240
-import csv
+from csv import reader
1241
from tabulate import tabulate
1242
1243
with open(<filename>, newline='') as csv_file:
1244
- reader = csv.reader(csv_file, delimiter=';')
+ reader = reader(csv_file, delimiter=';')
1245
headers = [a.title() for a in next(reader)]
1246
print(tabulate(reader, headers))
1247
```
0 commit comments