title: groupby and sum two columns and set as one column in pandas
body: <p>I have the following data frame:</p>
  
  <pre><code>import pandas as pd
  data = pd.DataFrame()
  data['Home'] = ['A','B','C','D','E','F']
  data['HomePoint'] = [3,0,1,1,3,3]
  data['Away'] = ['B','C','A','E','D','D']
  data['AwayPoint'] = [0,3,1,1,0,0]
  </code></pre>
  
  <p>i want to groupby the columns ['Home', 'Away']  and change the name as Team. Then i like to sum homepoint and awaypoint as name as Points.</p>
  
  <pre><code>     Team      Points
        A           4
        B           0
        C           4
        D           1
        E           4
        F           3
  </code></pre>
  
  <p>How can I do it?
  I was trying different approach using the following post:
  <a href="https://stackoverflow.com/questions/46431243/pandas-dataframe-groupby-how-to-get-sum-of-multiple-columns">Link</a></p>
  
  <p>But I was not able to get the format that I wanted.</p>
  
  <p>Greatly appreciate your advice.</p>
  
  <p>Thanks</p>
  
  <p>Zep.</p>