Move Rows Up By One Of Specified Column In Pandas <p>I have a file like this:</p> <pre><code>value1, value2, value3, value4, value5 NAN NAN value8, value9, value0 value6, value7, NAN NAN NAN </code></pre> <p>And I would like to push row 3 up to do the following:</p> <pre><code>value1, value2, value3, value4, value5 value6, value7, value8, value9, value0 NAN NAN NAN NAN NAN </code></pre> <p>I would also like the rows below these rows to move up as well.</p> <p>How is this done in pandas?</p>