P']</dd>
<dt><strong><code>remove_nans</code></strong> :&ensp;<code>bool</code>, default <code>= True</code></dt>
<dd>Whether or not to remove nans in the process, by default True</dd>
</dl>
<h2 id="returns">Returns</h2>
<dl>
<dt><strong><code>df_sorted</code></strong> :&ensp;<code>pandas.DataFrame</code></dt>
<dd>Sorted dataframe</dd>
</dl></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def sort_dataframe(df, sort_cols=[&#39;API_NUMBER&#39;,&#3