Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 1
    Please fix the errors in your snippets first so we can run them. Commented Nov 12, 2019 at 10:36
  • Great, now what is missing? What is actually the question/problem? Commented Nov 12, 2019 at 10:42
  • The problem is that I cannot get the required format of the JSON and I do not have any idea how I can achieve it. You can see the required format if you want in the initial question.. Commented Nov 12, 2019 at 10:43
  • Do you have any influence on the csv layout? It's cumbersome to write the algorithm because the csv data is not "normalised". Commented Nov 12, 2019 at 11:17
  • I can convert the format of the CSV, it is up to me at all. What kind of format do you suggest me? Commented Nov 12, 2019 at 11:18