summaryrefslogtreecommitdiff
path: root/linegraph-test/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'linegraph-test/data.py')
-rw-r--r--linegraph-test/data.py8
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