title: Dictionary of Pandas' Dataframe to JSON
body: <p>As the question asks I have a dictionary of pandas' <code>dataframes</code> that I want to save so that I don't have to resample the data next time I start the <code>ipython</code> notebook. I tried something simple which has worked in other cases before:</p>
  
  <pre><code>import json
  with open('result.json', 'w') as fp:
      json.dump(d, fp)
  </code></pre>
  
  <p>But I got this error:  </p>
  
  <pre><code>[1001 rows x 6 columns] is not JSON serializable
  </code></pre>
  
  <p>I think this has something to do with my pandas <code>dataframe</code>, but any help would be much appreciated.</p>