Pandas pop last row
<p>Is there any way to get and remove last row like <code>pop</code> method of python native list?</p>

<p>I know I can do like below. I just want to make it one line.</p>

<pre><code>df.ix[df.index[-1]]
df = df[:-1]
</code></pre>