I have script that run over file for each "task" - unique id in my input table. After process, I want to write my output frame as file with name of task separately for each task. For example: task1.scv, task2.scv and so on.
my code that doesn't work:
for t in range(0,len(cv_tasks)):
<...some process..>
df.to_csv('%s.csv' % cv_tasks[t])