Ok, so here's the deal.
I've got a CSV file in the following format (example):
Jon | Steve
Frank | Joe
Steve | Jon
Joe | Jon
I want to create a python program that reads in the CSV file and outputs a count of relationships, if that makes any sense. For example, for that example imput, the new .CSV file would be:
Jon | Steve | 2
Frank | Joe | 1
Joe | Jon | 1
Any ideas?
Thanks