title: Combine values in two columns to one in Python
body: <p>I have a dataset, df, where I would like to combine or sum the values in 2 specific columns to one column</p>
  <p><strong>Data</strong></p>
  <pre><code>id  name1   name2   status
  aa  1       0       y
  bb  2       2       n
  cc  0       1       y
  </code></pre>
  <p><strong>Desired</strong></p>
  <pre><code>id  name    status
  aa  1       y
  bb  4       n
  cc  1       y
  </code></pre>
  <p><strong>Doing</strong></p>
  <pre><code>df['name'] = df[['name1', 'name2']].agg(axis = 1)
  </code></pre>
  <p>I am running this script, however, I think I am missing a key syntax. Any suggestion is appreciated.</p>