Skip to content

Commit

Permalink
add some data files
Browse files Browse the repository at this point in the history
  • Loading branch information
wesm committed Jul 28, 2012
0 parents commit 063039f
Show file tree
Hide file tree
Showing 19 changed files with 16,006 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ch03/ipython_bug.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
def works_fine():
a = 5
b = 6
assert(a + b == 11)

def throws_an_exception():
a = 5
b = 6
assert(a + b == 10)

def calling_things():
works_fine()
throws_an_exception()

calling_things()
Binary file added ch03/stinkbug.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions ch06/csv_mindex.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
key1,key2,value1,value2
one,a,1,2
one,b,3,4
one,c,5,6
one,d,7,8
two,a,9,10
two,b,11,12
two,c,13,14
two,d,15,16
4 changes: 4 additions & 0 deletions ch06/ex1.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
a,b,c,d,message
1,2,3,4,hello
5,6,7,8,world
9,10,11,12,foo
3 changes: 3 additions & 0 deletions ch06/ex2.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1,2,3,4,hello
5,6,7,8,world
9,10,11,12,foo
5 changes: 5 additions & 0 deletions ch06/ex3.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
A B C
aaa -0.264438 -1.026059 -0.619500
bbb 0.927272 0.302904 -0.032399
ccc -0.264273 -0.386314 -0.217601
ddd -0.871858 -0.348382 1.100491
5 changes: 5 additions & 0 deletions ch06/ex3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
A B C
aaa -0.264438 -1.026059 -0.619500
bbb 0.927272 0.302904 -0.032399
ccc -0.264273 -0.386314 -0.217601
ddd -0.871858 -0.348382 1.100491
7 changes: 7 additions & 0 deletions ch06/ex4.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# hey!
a,b,c,d,message
# just wanted to make things more difficult for you
# who reads CSV files with computers, anyway?
1,2,3,4,hello
5,6,7,8,world
9,10,11,12,foo
4 changes: 4 additions & 0 deletions ch06/ex5.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
something,a,b,c,d,message
one,1,2,3,4,NA
two,5,6,,8,world
three,9,10,11,12,foo
10,001 changes: 10,001 additions & 0 deletions ch06/ex6.csv

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions ch06/ex7.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"a","b","c"
"1","2","3"
"1","2","3","4"
Binary file added ch06/frame_pickle
Binary file not shown.
4 changes: 4 additions & 0 deletions ch06/out.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
,something,a,b,c,d,message
0,one,1,2,3.0,4,
1,two,5,6,,8,world
2,three,9,10,11.0,12,foo
3 changes: 3 additions & 0 deletions ch06/test_file.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"a","b","c"
"1","2","3"
"1","2","3","4"
7 changes: 7 additions & 0 deletions ch06/tseries.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
2000-01-01 00:00:00,0
2000-01-02 00:00:00,1
2000-01-03 00:00:00,2
2000-01-04 00:00:00,3
2000-01-05 00:00:00,4
2000-01-06 00:00:00,5
2000-01-07 00:00:00,6
204 changes: 204 additions & 0 deletions ch08/macrodata.csv

Large diffs are not rendered by default.

Loading

0 comments on commit 063039f

Please sign in to comment.