import os | |
import pandas as pd | |
list1 = os.listdir(path) | |
print("################################") | |
print(list1) | |
print("################################") | |
df = pd.DataFrame([(f"testid{i:04}", 0) for i in range(837)], columns=["id", "pred"]) | |
df.to_csv("submission.csv", index=None) |