SAVING FILES IN 2 SEPARATE FOLDERS

Hi,

I would want to save the individual files for CLOSE IN SYSTEM YES to one folder and CLOSE IN SYSTEM NO to a separate folder as well. Can someone help me or guide me on how I could do this? :sweat_smile:

image

Hi @lovebau, you should be able to adapt the idea from this thread.

Basically look at the part with the group loop, and where it mentions commodity/category, this is equivalent of your “close in system”.

You might want to replace excel writer with csv writer or whatever file output format you want.