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*

4
  • This is really great! I just need a brief explanation of what you are doing with the join -1 4 -2 2 I understand the rest of the code, and then I will mark as correct answer! :) Commented Nov 28, 2017 at 7:16
  • Nice. The unique key for fileA doesn't contribute anything though Commented Nov 28, 2017 at 8:52
  • Not in this case but if you stick to good practice in keeping a uid in all tables then you will find it invaluable when you graduate to handling bigger and more complex data sets. Commented Nov 28, 2017 at 10:22
  • @glennjackman Just realised i was talking rubbish. I explicitly put the fileA uid in so the results could be sorted back to the original order. It is the uid in the popularity file which are redundant in this instance. I must be getting old. Commented Nov 28, 2017 at 10:46