title: Getting an error while writing dataframe into csv
body: <p>I am trying to write dataframe into csv file using <code>!cat</code> but I'm getting some errors.</p>
  
  <p>Code:</p>
  
  <pre><code>data.to_csv(r'C:\Users\Downloads\pydata\pydata-book-2nd-edition\examples\out.csv')
  !cat C:\Users\Pruthvish\Downloads\pydata\pydata-book-2nd-edition\examples\out.csv
  ,something,a,b,c,d,message
  0,one,1,2,3.0,4
  1,two,5,6,,8,world
  2,three,9,10,11.0,12,foo
  </code></pre>
  
  <p>Error: </p>
  
  <pre class="lang-none prettyprint-override"><code>'cat' is not recognized as an internal or external command, operable program or batch file.
  ---------------------------------------------------------------------------
  NameError                                 Traceback (most recent call last)
  &lt;ipython-input-194-9f4495d324cb&gt; in &lt;module&gt;()
        1 get_ipython().system('cat C:\\Users\\Downloads\\pydata\\pydata-book-2nd-edition\\examples\\out.csv')
  ----&gt; 2 something(",a,b,c,d,message")
        3 0,one,1,2,3.0,4
        4 1,two,5,6,,8,world
        5 2,three,9,10,11.0,12,foo
  
  NameError: name 'something' is not defined
  </code></pre>
  
  <p>I even tried <code>!type</code> and <code>!more</code> but name error is still there. How can I fix this error?</p>