title: How to check module where a function come from?
body: <p>I am running script in the Spyder IPython console as below:  </p>
  
  <pre><code>In [12]: mydf['logintimes'].count()
  Out[12]: 40
  </code></pre>
  
  <p>As I import several modules:  </p>
  
  <pre><code>import numpy
  import pandas
  import matplotlib
  import scipy.stats
  </code></pre>
  
  <p>Is <code>count()</code> a python function, pandas function or <code>numpy</code> function?<br>
  I tried <kbd>Ctrl+I</kbd> in Spyder, but no documentation was available.</p>