找不到Python Pandas read_excel()模块

2024-04-29 01:43:44 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试使用pandas.read_excel()来导入一个使用此基本脚本的.xlsx文件

import pandas as pd
x = pd.read_excel("crypt_db.xlsx", "sheet1")

我得到一个模块(“read_excel”)未找到错误。我能帮个忙吗?

我的熊猫更新到最新版本。

谢谢你的帮助

完全回溯

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'read_excel'

Tags: 模块文件import脚本pandasreaddbas