这可能是一个相当愚蠢的问题:
如果我在pd.read_excel(somefile)使用python pandas功能,这种功能需要被执行Python代码的机器上安装Excel?
pd.read_excel(somefile)
python pandas
简短而亲切的:没有,没有。
它requires the xlrd Python package,你可以在你已经安装pandas以同样的方式(例如pip install xlrd)安装。
xlrd
pandas
pip install xlrd