title: module 'numpy' has no attribute 'ndarray'
body: <p>My Jupiter notebook was crushed, so I have to reinstall the notebook, but in the new Jupiter notebook, I cannot run pandas.</p>
  <pre><code>import pandas as pd
  </code></pre>
  <pre><code>AttributeError                            Traceback (most recent call last)
  ~\AppData\Local\Temp/ipykernel_6860/4080736814.py in &lt;module&gt;
  ----&gt; 1 import pandas as pd
  
  ~\anaconda3\lib\site-packages\pandas\__init__.py in &lt;module&gt;
       20 
       21 # numpy compat
  ---&gt; 22 from pandas.compat import (
       23     np_version_under1p18 as _np_version_under1p18,
       24     is_numpy_dev as _is_numpy_dev,
  
  ~\anaconda3\lib\site-packages\pandas\compat\__init__.py in &lt;module&gt;
       12 import warnings
       13 
  ---&gt; 14 from pandas._typing import F
       15 from pandas.compat.numpy import (
       16     is_numpy_dev,
  
  ~\anaconda3\lib\site-packages\pandas\_typing.py in &lt;module&gt;
       82 # array-like
       83 
  ---&gt; 84 ArrayLike = Union[&quot;ExtensionArray&quot;, np.ndarray]
       85 AnyArrayLike = Union[ArrayLike, &quot;Index&quot;, &quot;Series&quot;]
       86 
  
  AttributeError: module 'numpy' has no attribute 'ndarray'
  </code></pre>
  <p>I have tried to rename or delete the numpy.py, but it didn't work.</p>