📜  将excel文件上传到pycharm - Python代码示例

📅  最后修改于: 2022-03-11 14:45:34.240000             🧑  作者: Mango

代码示例1
import pandas as pd

df = pd.read_excel (r'C:\Users\Ron\Desktop\Product List.xlsx') #place "r" before the path string to address special character, such as '\'. Don't forget to put the file name at the end of the path + '.xlsx'
print (df)