title: Pandas columns to rows transformation not working?
body: <p>We have below  pandas dataframe </p>
  
  <p><a href="https://i.stack.imgur.com/J1uRt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J1uRt.png" alt="enter image description here"></a></p>
  
  <p>and we need to convert into below dataframe</p>
  
  <p><a href="https://i.stack.imgur.com/ksGvp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ksGvp.png" alt="enter image description here"></a></p>
  
  <p>while using pd.wide_to_long command we are getting below error:-</p>
  
  <pre><code>ValueError: stubname can't be identical to a column name
  </code></pre>
  
  <p>This command is being use:-</p>
  
  <pre><code>pd.wide_to_long(df,['Org','City'],i=['First Name','Middle Name','Last Name','Years'],j='drop').reset_index(level=[0,1]
  </code></pre>