title: Does Pandas (natively) support mypy type hints?
body: <p>does pandas have support for mypy type hints? I want to type function that can recieve and return pandas Dataframe and Series. I have tried</p>
  <pre class="lang-py prettyprint-override"><code>from pandas.core.frame import DataFrame
  
  
  def f() -&gt; DataFrame:
      return {}
  </code></pre>
  <p>but I get</p>
  <pre class="lang-sh prettyprint-override"><code>error: Skipping analyzing 'pandas': found module but no type hints or library stubs
  </code></pre>
  <p>If I silence this error by adding <code>type: ignore</code>, then the mypy runs without error, despite the function not returning a dataframe.
  I have also tried:</p>
  <pre class="lang-py prettyprint-override"><code>import pandas as pd
  
  
  def f() -&gt; pd.DataFrame:
      return {}
  </code></pre>
  <p>Same result, both with and without the <code>type: ignore</code> comment. I have tried this against pandas1.0.4, 1.0.5, current master on git ( @3e8f14f711642418c57a9e991f75ea86878020a3 ) and with both mypy 0.770 and 0.782.</p>
  <p>Does pandas not support mypy type hints? Is there any way I can do this?
  Thank you in advance for your help.</p>
  <p>Note: I would like to do this with-in pandas+mypy only, external stubs exists like <a href="https://pypi.org/project/data-science-types/" rel="nofollow noreferrer">https://pypi.org/project/data-science-types/</a> but I would rather not depend on it</p>