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.

3
  • it works too. And the output looks very neat. Thank you John. I just had to replace the tab delimiter with a comma.-F',' Commented Sep 22, 2019 at 23:50
  • @leena Very good. Your observation is curious, though: Your sample input, as shown in the question ("sample of my dataset"), has no commas in it all. Commented Sep 23, 2019 at 0:21
  • 1
    yes I didn't reflect the sample dataset in the best way. Thanks for your help Commented Sep 23, 2019 at 0:31