-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathcsv_test.out.ref
91 lines (75 loc) · 3.56 KB
/
csv_test.out.ref
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
============================
csv_test_1
============================
read file: ./test.csv
File: test.csv
Header Type
id 3
first_name 1
age 2
ok 4
print all the rows:
1 Julie 80.244 false
2 Jose 11.569 true
3 Lois 12.339 true
4 Walter 63.173 false
5 Timothy 57.063 true
6 Barbara 79.705 true
7 Douglas 19.347 false
8 Tina 16.909 true
9 Gregory 67.749 true
10 Larry 43.705 true
11 Tina 9.931 true
12 Kelly 72.657 true
13 Marilyn 10.901 true
14 Gregory 9.966 true
15 Earl 10.875 true
16 Evelyn 33.268 true
17 Carol 54.498 false
18 Alice 2.505 true
19 Randy 39.775 false
get some vectors:
age:
80.244
11.569
12.339
63.173
57.063
79.705
19.347
16.909
67.749
43.705
9.931
72.657
10.901
9.966
10.875
33.268
54.498
2.505
39.775
read file: ./test_2_columns.csv
File: test_2_columns.csv
Header Type
id 3
first_name 1
print all the rows:
2 Jose
3 Lois
4 Walter
get some vectors:
name:
Jose
Lois
Walter
============================
csv_write_test
============================
============================
csv_read_test
============================
x= 1.0000000000000000 4.0000000000000000
y= 2.0000000000000000 5.0000000000000000
z= 3.0000000000000000 6.0000000000000000
t= T F