diff options
Diffstat (limited to 'linegraph-test/data.py')
| -rw-r--r-- | linegraph-test/data.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linegraph-test/data.py b/linegraph-test/data.py new file mode 100644 index 0000000..9171e2a --- /dev/null +++ b/linegraph-test/data.py @@ -0,0 +1,8 @@ +import csv + +with open('data.csv', 'r') as f: + reader = csv.reader(f) + tags = reader.next() + data = zip(*[row for row in reader]) + +
\ No newline at end of file |
