Update script.py
Browse files
script.py
CHANGED
@@ -1,10 +1,10 @@
|
|
|
|
1 |
import pandas as pd
|
2 |
-
from sklearn import svm
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
print(
|
8 |
|
9 |
df = pd.DataFrame([(f"testid{i:04}", 0) for i in range(837)], columns=["id", "pred"])
|
10 |
df.to_csv("submission.csv", index=None)
|
|
|
1 |
+
import os
|
2 |
import pandas as pd
|
|
|
3 |
|
4 |
+
list1 = os.listdir(path)
|
5 |
+
print("################################")
|
6 |
+
print(list1)
|
7 |
+
print("################################")
|
8 |
|
9 |
df = pd.DataFrame([(f"testid{i:04}", 0) for i in range(837)], columns=["id", "pred"])
|
10 |
df.to_csv("submission.csv", index=None)
|