ktrapeznikov commited on
Commit
e162919
·
verified ·
1 Parent(s): f06326e

Update script.py

Browse files
Files changed (1) hide show
  1. script.py +9 -0
script.py CHANGED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import pandas as pd
2
+ test_df = pd.read_csv("/tmp/data/test/metadata.csv")
3
+
4
+ out = []
5
+
6
+ for file_name in test_df.file_name:
7
+ out.append(dict(file_name = file_name, pred = "flux"))
8
+
9
+ pd.Dataframe(out).to_csv("submission.csv",index = False)