读取本地excel文件,发现pandas读取更简洁

    安装方式:
    安装命令是:pip install pandas

    1. import pandas as pd
    2. df = pd.read_excel("..\GetyuqueData\day_20200327.xls", "test")
    3. print(df)

    运行结果如图
    python pandas 读取excel内容 - 图1