Hello Can anybody give solution to the following problem:

whenever I try to import pandas I get following error:

import pandas as pd

AttributeError Traceback (most recent call last)

<ipython-input-80-7dd3504c366f> in <module>

----> 1 import pandas as pd

~\anaconda3\lib\site-packages\pandas\__init__.py in <module>

9 for dependency in hard_dependencies:

10 try:

---> 11 __import__(dependency)

12 except ImportError as e:

13 missing_dependencies.append(f"{dependency}: {e}")

~\anaconda3\lib\site-packages\numpy\__init__.py in <module>

216 from .core import round, abs, max, min

217 # now that numpy modules are imported, can initialize limits

--> 218 core.getlimits._register_known_types()

219

220 __all__.extend(['__version__', 'show_config'])

~\anaconda3\lib\site-packages\numpy\core\getlimits.py in _register_known_types()

160 with numeric.errstate(all='ignore'):

161 huge_f128 = (ld(1) - epsneg_f128) / tiny_f128 * ld(4)

--> 162 float128_ma = MachArLike(ld,

163 machep=-112,

164 negep=-113,

~\anaconda3\lib\site-packages\numpy\core\getlimits.py in __init__(self, ftype, eps, epsneg, huge, tiny, ibeta, **kwargs)

51 self.precision = int(-log10(self.eps))

52 self.resolution = float_to_float(float_conv(10) ** (-self.precision))

---> 53 self._str_eps = float_to_str(self.eps)

54 self._str_epsneg = float_to_str(self.epsneg)

55 self._str_xmin = float_to_str(self.xmin)

~\anaconda3\lib\site-packages\numpy\core\getlimits.py in <lambda>(v)

39 float_conv = lambda v: array([v], ftype)

40 float_to_float = lambda v : _fr1(float_conv(v))

---> 41 float_to_str = lambda v: (params['fmt'] % array(_fr0(v)[0], ftype))

42

43 self.title = params['title']

~\anaconda3\lib\site-packages\numpy\core\arrayprint.py in _array_str_implementation(a, max_line_width, precision, suppress_small, array2string)

1513 # for which indexing with () returns a 0d instead of a scalar by using

1514 # ndarray's getindex. Also guard against recursive 0d object arrays.

-> 1515 return _guarded_repr_or_str(np.ndarray.__getitem__(a, ()))

1516

1517 return array2string(a, max_line_width, precision, suppress_small, ' ', "")

AttributeError: module 'numpy' has no attribute 'ndarray'