      Election results using the k-approval method.

    References
    ----------

    &#34;&#34;&#34;
    df = transform(
        df.copy(),
        ballot=ballot,
        delimiter=delimiter,
        voters=voters,
        **transform_kws
    )
    df[&#34;value&#34;] = df[ballot] &lt;= k

    df = __set_voters(df, voters=voters)
    df = __aggregate(df, groupby=[alternative], aggregation=&#34;sum&#34;)

    if show_rank:
        df = __set_rank(df)

    return df</code></pre>
</details>
</dd>
</dl>
</se