summaryrefslogtreecommitdiff
path: root/linegraph-test/data.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-08-06 16:45:21 +0300
committerYuval Adam <yuv.adm@gmail.com>2011-08-06 16:45:21 +0300
commitbf054805514ea71dba7578d434a39f9531d51934 (patch)
treead496a442cb1817a2e3ef48cc328b14da5777bfb /linegraph-test/data.py
parent7e698d1909118041a49e08f271f92353f26befba (diff)
added linegraph test
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