Icon

Grouping Data into CSV Files

Grouping Data into CSV Files
Challenge 16: Grouping Data into CSV FilesYou were asked to split a single sales CSV file into smaller ones based ongroups, named according to the group names. As an example, if the original filehad the following data:You would generate two files: one named Group_a, and one named Group_b.They would have the following structure:Your solution to this task should be generic — that is, it should work for anynumber of groups, and the names of the groups should not matter. read filestart group loopcreate pathvariable to groupendwrite the files CSV Reader Group Loop Start Create File/FolderVariables Table Rowto Variable Loop End CSV Writer Challenge 16: Grouping Data into CSV FilesYou were asked to split a single sales CSV file into smaller ones based ongroups, named according to the group names. As an example, if the original filehad the following data:You would generate two files: one named Group_a, and one named Group_b.They would have the following structure:Your solution to this task should be generic — that is, it should work for anynumber of groups, and the names of the groups should not matter. read filestart group loopcreate pathvariable to groupendwrite the files CSV Reader Group Loop Start Create File/FolderVariables Table Rowto Variable Loop End CSV Writer

Nodes

Extensions

Links