title: Split all column names by specific characters and take the last part as new column names in Pandas
body: <p>I have a dataframe which has column names like this:</p>
  <p><code>id, xxx&gt;xxx&gt;x, yy&gt;y, zzzz&gt;zzz&gt;zz&gt;z, ...</code></p>
  <p>I need to split by the second <code>&gt;</code> from the right side and take the first element as new column names, <code>id, xxx&gt;x, yy&gt;y, zz&gt;z, ...</code>.</p>
  <p>I have used: <code>'zzzz&gt;zzz&gt;zz&gt;z'.rsplit('&gt;', 1)[-1]</code> to get <code>z</code> as the expected new column name for the third column.</p>
  <p>When I use: <code>df.columns = df.columns.rsplit('&gt;', 1)[-1]</code>:</p>
  <p>Out:</p>
  <pre><code>ValueError: Length mismatch: Expected axis has 13 elements, new values have 2 elements
  </code></pre>
  <p>How could I do that correctly?</p>