@ -2708,7 +2708,7 @@ b <span class="hljs-number">3</span> <span class="hljs-number">4</span>
<pre><codeclass="python language-python hljs"><DF> = <DF>.set_index(column_key) <spanclass="hljs-comment"># Replaces row keys with values from a column.</span>
<pre><codeclass="python language-python hljs"><DF> = <DF>.set_index(column_key) <spanclass="hljs-comment"># Replaces row keys with values from a column.</span>
<DF> = <DF>.reset_index() <spanclass="hljs-comment"># Moves row keys to their own column.</span>
<DF> = <DF>.reset_index() <spanclass="hljs-comment"># Moves row keys to their own column.</span>
<DF> = <DF>.filter(<spanclass="hljs-string">'<regex>'</span>, axis=<spanclass="hljs-number">1</span>) <spanclass="hljs-comment"># Only keeps columns whose key matches the regex.</span>
<DF> = <DF>.filter(<spanclass="hljs-string">'<regex>'</span>, axis=<spanclass="hljs-number">1</span>) <spanclass="hljs-comment"># Only keeps columns whose key matches the regex.</span>
<DF> = <DF>.melt(id_vars=column_key/s) <spanclass="hljs-comment"># Convers DF from wide to long format.</span>
<DF> = <DF>.melt(id_vars=column_key/s) <spanclass="hljs-comment"># Converts DF from wide to long format.</span>