title: Trying to write a data frame to .CSV - Permission denied
body: <p>I am trying to write a datafame to a csv file using the following:</p>
  
  <pre><code>fxRollPath = 'C:\Users\stacey\Documents\scripts\FXFiles'
  fxData.to_csv(fxRollPath,fxRoll'+ str(index)+'.csv')
  </code></pre>
  
  <p>Where fxRoll is a dataframe</p>
  
  <p>But I get the error:</p>
  
  <pre><code>PermissionError: [Errno 13] Permission denied: 'C:\Users\stacey\Documents\scripts\FXFiles'
  </code></pre>
  
  <p>What have I done wrong?</p>