
<th>selected</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>A</td>
<td>B</td>
<td>A</td>
</tr>
<tr>
<td>1</td>
<td>B</td>
<td>C</td>
<td>C</td>
</tr>
<tr>
<td>1</td>
<td>A</td>
<td>C</td>
<td>C</td>
</tr>
<tr>
<td>2</td>
<td>A</td>
<td>C</td>
<td>A</td>
</tr>
<tr>
<td>3</td>
<td>B</td>
<td>C</td>
<td>B</td>
</tr>
</tbody>
</table>
<pre><code>import pandas as pd
from comchoice.pairwise import Pairwise

df = pd.read_csv(&quot;/path/to/file/pairwise.csv&quot;)

pwc = Pairwise(df)

pwc.copeland()
</code></pre