Actually, I have a data set about the “meeting”. For example, A, B, C have a meeting, then the list will be [A, B, C]. Thus, each list will contain a list of participants who participated in the meeting. Therefore:
line1 = (A, B, C)
line2 = (A, C, D, E)
line3 = (D, F, G)
...
I just wanted to calculate how many times each pair of members meets each other. For example, member A meets C twice from row1 and row2, and member B meets C once from row1. So, I would like to make such a schedule.
A B C D E F G...
A . 1 2 1 ...
B 1 . 1 0
C
...
I thought it would be easy the first time, but I'm pretty confused. Please help me and thank you for this in advance.
source
share