>
<h3 id="conversion-data-into-pairwise-comparison">Conversion Data into Pairwise comparison</h3>
<p><code><a title="comchoice" href="#comchoice">comchoice</a></code> allows converting an election dataset into pairwise comparison data through <code>to_pairwise()</code> method defined in the class <code>Pairwise</code>.</p>
<p>Let's suppose that we have two alternatives and two voters. Voter 1 rates alternative A with 5 stars, and rates alternative B with 3 stars. In this case, we could assume that voter 1 w