title: How to fix the error 'dict' object has no attribute 'to_csv'
body: <p>I have run this code but i'm trying to store it into csv file but i got an error.</p>
  <pre><code>import pandas as pd
  from blocklib import generate_candidate_blocks
  from blocklib import generate_blocks
  from blocklib.evaluation import assess_blocks_2party
  dd = pd.read_csv('file path\\page.csv')
  
  blocking_config = {
  &quot;type&quot;: &quot;p-sig&quot;,
  &quot;version&quot;: 1,
  &quot;config&quot;: {
      &quot;blocking-features&quot;: [1, 2],
  #         &quot;record-id-col&quot;: 0,
      &quot;filter&quot;: {
          &quot;type&quot;: &quot;ratio&quot;,
          &quot;max&quot;: 0.02,
          &quot;min&quot;: 0.00,
      },
      &quot;blocking-filter&quot;: {
          &quot;type&quot;: &quot;bloom filter&quot;,
          &quot;number-hash-functions&quot;: 4,
          &quot;bf-len&quot;: 2048,
      },
      &quot;signatureSpecs&quot;: [
          [
               {&quot;type&quot;: &quot;characters-at&quot;, &quot;config&quot;: {&quot;pos&quot;: [0]}, &quot;feature&quot;: 1},
               {&quot;type&quot;: &quot;characters-at&quot;, &quot;config&quot;: {&quot;pos&quot;: [0]}, &quot;feature&quot;: 2},
          ],
          [
              {&quot;type&quot;: &quot;metaphone&quot;, &quot;feature&quot;: 1},
              {&quot;type&quot;: &quot;metaphone&quot;, &quot;feature&quot;: 2},
          ]
      ]
  }
  }
  
  pp = dd.to_dict(orient='split')['data']
  print(&quot;Example PII&quot;, pp[0])
  block_obj = generate_candidate_blocks(pp, blocking_config)
  print(block_obj.state)
  list(block_obj.blocks.keys())[0]
  
  ss = pd.read_csv('file path\\page2.csv')
  hh = ss.to_dict(orient='split')['data']
  block_obj2 = generate_candidate_blocks(hh, blocking_config)
  print(block_obj2.state)
  print(list(block_obj2.blocks.keys())[0])
  print(list(block_obj2.blocks.values())[1])
  
  filtered_blocks1, filtered_blocks2 = generate_blocks([block_obj, block_obj2], K=2)
  print('page: {} out of {} blocks are in common'.format(len(filtered_blocks1), len(block_obj.blocks)))
  print('page2:   {} out of {} blocks are in common'.format(len(filtered_blocks2), len(block_obj2.blocks)))
  </code></pre>
  <p>I have tried to use the function 'to_csv' but i gives an error</p>
  <pre><code>   filtered_blocks1.to_csv('file path\\file1.csv' , index = True)
  </code></pre>
  <p>The error is here:</p>
  <pre><code>    AttributeError: 'dict' object has no attribute 'to_csv'
  </code></pre>
  <p>The output is resulted by using two csv files. How to save the resulted output into csv file?</p>