出现AttributeError: module 'pandas' has no attribute 'DateFrame'”要怎么解决?

构建DataFrame时运行结果出现“AttributeError: module 'pandas' has no attribute 'DateFrame'”,请问这要怎么解决?

        本人是刚刚跨入Python的新人小白,希望大佬给予帮助!!

DataFrame,你Data拼写错了

我升级了一下pandas版本,解决了这个问题,pip install --upgrade pandas

你看下文件名是不是跟pandas series dataframe类似 如果是的话 改一下文件名就好 我之前也是这个问题 改一下文件名就好

AttributeError: module 'pandas.compat' has no attribute 'Iterable'
这个是怎么回事?

conda install pandas