lass="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">import pandas as pd


def neutrality(
    data,
    alternative_a=&#34;alternative_a&#34;,
    alternative_b=&#34;alternative_b&#34;,
    voter=&#34;voter&#34;
):
    &#34;&#34;&#34;
    Neutrality: all alternatives must have equal weight.
    No duplicated votes.

    Returns
    -------
    bool: 
        Boolean variable to indicate if the data is complete.
    &#34;&#34;&#34;
    tmp = data.groupby([alternative