Python pandas NameError: StringIO is not defined
<p>I am unable to read data in Pandas:
Input:</p>

<pre><code>import pandas as pd

data = 'a,b,c\n1,2,3\n4,5,6'

pd.read_csv(StringIO(data),skipinitialspace=True)
</code></pre>

<p>Output:</p>

<pre><code>NameError:name 'StringIO' is not defined
</code></pre>

<p>Please let me know why the error occurred and also let me know what to import.</p>