], remove_nans=True)</span>
</code></dt>
<dd>
<div class="desc"><p>Function to sort dataframe by one or more columns.</p>
<h2 id="parameters">Parameters</h2>
<dl>
<dt><strong><code>df</code></strong> :&ensp;<code>pandas.DataFrame</code></dt>
<dd>Dataframe to be sorted</dd>
<dt><strong><code>sort_cols</code></strong> :&ensp;<code>str</code> or <code>list</code> of <code>str</code>, default <code>= ['API_NUMBER','TOP']</code></dt>
<dd>Name(s) of columns by which to sort dataframe, by default ['API_NUMBER','TO