title: How can I concatenate a Series onto a DataFrame with Pandas?
body: <p>If I have a <code>DataFrame</code>:</p>
  
  <pre><code>students = pd.DataFrame([
      ['Alex'],
      ['Lauren'],
  ])
  </code></pre>
  
  <p>How can I concatenate a <code>Series</code> and create a new <code>DataFrame</code>? For example, I'd like:</p>
  
  <pre><code>&gt;&gt;&gt; marks = pd.Series([.8, .75])
  &gt;&gt;&gt; students.concat(marks).values
  [['Alex', .8],
   ['Lauren', .75]]
  </code></pre>
  
  <p>I know that I could use:</p>
  
  <pre><code>students['marks'] = marks
  </code></pre>
  
  <p>But that would mutate <code>students</code>.</p>
  
  <p>I've tried:</p>
  
  <pre><code> &gt;&gt;&gt; pd.concat([students, marks])
   …
   AttributeError: 'Series' object has no attribute '_data'
  </code></pre>