I am trying to create multiple csv from a given source (i.e array).
It works with sample data but it does not work with the actual data.
here is the code :-