title: Is there a way to allow NaN values to be writen to CSV from panadas?
body: <p>I have the following error <code>builtins.AssertionError: 12 columns passed, passed data had 6 columns</code> The last 6 Columns datawise will vary so Im happy to have <code>None</code> in the areas the data is missing. However I cant seem to find a simple way to do this, im pretty sure there must be an option for it but I cant see it in the docs or any google searches.</p>
  
  <p>Any help would be apprecaited. I would like to reiterate that I know what is causing the problem and I know data is missing from coloumns. I would like to ignore missing data and am ahppy to have None or NaN in the output csv.</p>