[Solved]: AttributeError: module 'pandas' has no attribute 'core'

Problem:

UsersadminAnaconda3libsite-packagespandascoregeneric.py in <module>()     39 from pandas.core.index import (Index, MultiIndex, _ensure_index,     40                                InvalidIndexError)---> 41 import pandas.core.indexing as indexing     42 from pandas.core.indexes.datetimes import DatetimeIndex     43 from pandas.core.indexes.period import PeriodIndex, PeriodAttributeError: module 'pandas' has no attribute 'core'

Solution:

First restart you notebook,

if it doesn’t work then use 

conda upgrade --all 

and then restart you notebook.