title: Cannot import name from a module
body: <p>Can't import the function "ident" from "modulename"</p>
  
  <pre class="lang-py prettyprint-override"><code>def ident(key):
      import pandas as pd
      data = pd.read_csv("dicc.csv")
      data = data.T
      data = data.to_dict()
      print(data[0]["{}".format(clau)])
  </code></pre>
  
  <p>to my script </p>
  
  <pre><code>from modulename import ident
  </code></pre>
  
  <blockquote>
    <p>ImportError: cannot import name 'ident' from 'modulename' (/home/. . .)</p>
  </blockquote>