ser (voter) rates a place (alternative) on a scale of 1-5 stars (value).</p>
<h2 id="hands-on-coding">Hands on Coding</h2>
<p>ComChoice classes require a <code>pandas.DataFrame</code> or a <code>list</code> of <code>dict</code> to be initialized.</p>
<h3 id="hello-world-election-data">Hello world: Election data</h3>
<p>For starting, let's use the data of an election of 22 voters and 4 alternatives. Each voter provided their ranking of alternatives.</p>
<pre><code>from comchoice.aggregate import borda, condo