title: NameError: name 'Series' is not defined
body: <p>I'm new to coding, currently trying the Udacity Data Science intro course. Trying to recreate an example in a lecture.</p>
  
  <p>Here's the code: </p>
  
  <pre><code>import pandas as pd
  import numpy as np
  
  d = {
      'name': Series(['Braund', 'Cummings', 'Heikkinen', 'Allen'], index=['a', 'b', 'c', 'd']), 
      'age': Series([22, 38, 26, 35], index=['a', 'b', 'c', 'd']),
      'fare': Series([7.25, 71.83, 8.05], index=['a', 'b', 'd']),
      'survived?': Series([False, True, True, False], index['a', 'b', 'c', 'd'])
  }
  df = DataFrame(d)
  print df
  </code></pre>
  
  <p>Here's my error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "dataframe.py", line 4, in &lt;module&gt;
      d = {'name': Series(['Braund', 'Cummings', 'Heikkinen', 'Allen'],
  NameError: name 'Series' is not defined
  Aschs-MacBook-Air:mystuff aschharwood$ 
  </code></pre>
  
  <p>I'm saving as a .py file and running in terminal.</p>
  
  <p>Your help and guidance is much appreciated!</p>