类似的还有AttributeError: module 'matplotlib' has no attribute 'plot'问题
问题出现在使用Anaconda中的Jupter ,在使用
import pandas as pd
import matplotlib.pyplot as plt
在导入两个命令时,出现AttributeError: module 'pandas' has no attribute 'core
和AttributeError: module 'matplotlib' has no attribute 'plot' 问题
原因是版本的兼容性问题
解决方案:使用Anaconda的promt命令进入conda命令行:
输入conda upgrade -all 然后重启notebook就可以了。刚好遇到这个问题,尝试之后解决了。