title: pandasql will not import : ImportError: cannot import name to_sql
body: <p>I installed pandasql with pip at the linux command prompt, and started ipython notebook:</p>
  
  <pre><code>felix@xanadu ~ $ sudo pip install pandasql
  [sudo] password for felix: 
  Downloading/unpacking pandasql
    Downloading pandasql-0.6.2.tar.gz
    Running setup.py (path:/tmp/pip_build_root/pandasql/setup.py) egg_info for package pandasql
  
  Installing collected packages: pandasql
    Running setup.py install for pandasql
  
  Successfully installed pandasql
  Cleaning up...
  felix@xanadu ~ $ ipython notebook
  </code></pre>
  
  <p>Then tried to import pandas and it in the ipython notebook:</p>
  
  <pre><code>import pandas    
  import pandasql
  </code></pre>
  
  <p>..and it's not happy, have looked around but there doesn't seem to be an answer anywhere. Here is the error message it gave:</p>
  
  <pre><code>--------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-1-c9fa37159ca4&gt; in &lt;module&gt;()
        1 import pandas
  ----&gt; 2 import pandasql
  
  /usr/local/lib/python2.7/dist-packages/pandasql/__init__.py in &lt;module&gt;()
  ----&gt; 1 from .sqldf import sqldf
        2 import os
        3 import pandas as pd
        4 
        5 
  
  /usr/local/lib/python2.7/dist-packages/pandasql/sqldf.py in &lt;module&gt;()
        2 import pandas as pd
        3 import numpy as np
  ----&gt; 4 from pandas.io.sql import to_sql, read_sql
        5 import re
        6 import os
  
  ImportError: cannot import name to_sql
  </code></pre>
  
  <p>Does anyone have any ideas? Cheers</p>