Set a node property as a list or array during csv import

Goodevening,
I could wrong and maybe you need a more advanced solution.

But the first thing i thought was to get name, [1,2,3]:
LOAD CSV etc.... AS x
WITH DISTINCT x.name AS name, COLLECT(DISTINCT x.rules) AS rules
RETURN name, rules
;

Yours Kindly
Omer

2 Likes