How do I define a Dataframe in Python?
<p>I am doing some work in a jupyter notebook using python and pandas and am getting a weird error message and would really appreciate the help. The error I am receiving is "NameError: name 'DataFrame' is not defined" </p>

<pre><code>import pandas as pd 

d = {'name': ['Braund', 'Cummings', 'Heikkinen', 'Allen'],
     'age': [22,38,26,35],
     'fare': [7.25, 71.83, 0 , 8.05], 
     'survived?': [False, True, True, False]}

df = DataFrame(d)

print(df)
</code></pre>