Fraser-Greenlee commited on
Commit
895f42f
•
1 Parent(s): 425eac9

joined sample test file

Browse files
test.list.csv → _t.list.csv RENAMED
File without changes
test.text.csv → _t.text.csv RENAMED
File without changes
make_test_files.py CHANGED
@@ -1,9 +1,16 @@
1
  # NOTE: run with different random seed
2
  import datasets
 
3
 
4
 
5
  data = datasets.load_dataset('program_synthesis.py', 'text')['train']
6
- data.to_csv('test.text.csv', index=False)
7
 
8
  data = datasets.load_dataset('program_synthesis.py', 'list')['train']
9
- data.to_csv('test.list.csv', index=False)
 
 
 
 
 
 
 
1
  # NOTE: run with different random seed
2
  import datasets
3
+ import pandas as pd
4
 
5
 
6
  data = datasets.load_dataset('program_synthesis.py', 'text')['train']
7
+ data.to_csv('_t.text.csv', index=False)
8
 
9
  data = datasets.load_dataset('program_synthesis.py', 'list')['train']
10
+ data.to_csv('_t.list.csv', index=False)
11
+
12
+
13
+ df_list = pd.read_csv('test.list.csv')
14
+ df_text = pd.read_csv('test.text.csv')
15
+ df = pd.concat((df_list, df_text))
16
+ df.to_csv('sample_test.csv', index=False)
sample_test.csv ADDED
The diff for this file is too large to render. See raw diff