title: How do I import Pandas on Apple M1 chip
body: <p>When I call: <br></p>
  <pre><code>import pandas as pd
  </code></pre>
  <p>on <code>tensorflow_macos</code> (for M1 chip)</p>
  <p>I get:</p>
  <pre><code>ImportError                               Traceback (most recent call last)
  ~/tensorflow_macos_venv/lib/python3.8/site-packages/pandas/__init__.py in &lt;module&gt;
       28 try:
  ---&gt; 29     from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib
       30 except ImportError as e:  # pragma: no cover
  
  ~/tensorflow_macos_venv/lib/python3.8/site-packages/pandas/_libs/__init__.py in &lt;module&gt;
       12 
  ---&gt; 13 from pandas._libs.interval import Interval
       14 from pandas._libs.tslibs import (
  
  ImportError: dlopen(/Users/ashkan/tensorflow_macos_venv/lib/python3.8/site-packages/pandas/_libs/interval.cpython-38-darwin.so, 2): no suitable image found.  Did find:
      /Users/ashkan/tensorflow_macos_venv/lib/python3.8/site-packages/pandas/_libs/interval.cpython-38-darwin.so: mach-o, but wrong architecture
      /Users/ashkan/tensorflow_macos_venv/lib/python3.8/site-packages/pandas/_libs/interval.cpython-38-darwin.so: mach-o, but wrong architecture
  
  The above exception was the direct cause of the following exception:
  
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-3-94f55571b0d6&gt; in &lt;module&gt;
        1 import numpy as np
  ----&gt; 2 import pandas as pd
        3 
        4 import matplotlib.pyplot as plt
        5 
  
  ~/tensorflow_macos_venv/lib/python3.8/site-packages/pandas/__init__.py in &lt;module&gt;
       31     # hack but overkill to use re
       32     module = str(e).replace(&quot;cannot import name &quot;, &quot;&quot;)
  ---&gt; 33     raise ImportError(
       34         f&quot;C extension: {module} not built. If you want to import &quot;
       35         &quot;pandas from the source directory, you may need to run &quot;
  
  ImportError: C extension: dlopen(/Users/ashkan/tensorflow_macos_venv/lib/python3.8/site-packages/pandas/_libs/interval.cpython-38-darwin.so, 2): no suitable image found.  Did find:
      /Users/ashkan/tensorflow_macos_venv/lib/python3.8/site-packages/pandas/_libs/interval.cpython-38-darwin.so: mach-o, but wrong architecture
      /Users/ashkan/tensorflow_macos_venv/lib/python3.8/site-packages/pandas/_libs/interval.cpython-38-darwin.so: mach-o, but wrong architecture not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --force' to build the C extensions first.
  </code></pre>