title: how to crate the group by in pandas only in one level
body: <p>I am importing below df3 dataframe in my excel file and want to grouby only Name and rest dublicate data should reflect as below .</p>
  <p>Note (Each Month data will be added as per month wise. )</p>
  <pre><code>Df3 =pd.read_Excel('Data')
  print (df3)      
  
  Name    ID  Month   Shift
  
  Jon     1   Feb     A
  Jon     1   Jan     B
  Jon     1   Mar     C
  Mike    1   Jan     A
  Mike    1   Jan     B
  Jon     1   Feb     C
  Jon     1   Jan     A
  </code></pre>
  <p><a href="https://i.stack.imgur.com/07R1Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/07R1Z.png" alt="enter image description here" /></a></p>
  <p>and i want to have output  like as below in the same formate . Please help me on same as im stuck here .</p>
  <p><a href="https://i.stack.imgur.com/7UMTY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7UMTY.png" alt="enter image description here" /></a></p>
  <p>Will be greatfull for help and support .</p>