lambda with multiple arguments for apply function : <p>I am having following function. Here I have lambda which takes multiple arguments row and float value. While I am running I am geeting error what is the cause?</p>

<pre><code>def func():
    Top15 = create_frame()
    total_citations = Top15['Citations'].sum()
    ratioof_selfcitations_to_totalcitations = Top15.apply(lambda (row, total): (row['Self-citations']/total),
                                                          total_citations)
    return ratioof_selfcitations_to_totalcitations
</code></pre>

<p>func</p>
