I have one csv file like this
out.csv
seedProductId,relatedProducts
My output is in dftype object looks like this
100A7E54111FB143
100D11CF822BBBDB
1014120EE9CCB1E0
10276825CD5B4A26
10364F56076B46B7
103D1DDAD3064A66
103F4F66EEB54308
I want to append this output with delimiter '|'.And I will pass another input as dynamic.
so I want the op like this
out.csv
seedProductId, relatedProducts
103F4F66EEB54308, 100A7E54111FB143 | 100D11CF822BBBDB | 10276825CD5B4A26 ...
Any help will be appreciated.