📌  相关文章
📜  来自excel部分的熊猫数据框 - 无论代码示例

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

代码示例1
import openpyxl
import pandas as pd

wb = openpyxl.load_workbook('data.xlsx')
sheet = wb.get_sheet_by_name('Sheet2')
range = ['A3':'D20']   #<-- how to specify this?
spots = pd.DataFrame(sheet.range) #what should be the exact syntax for this?

print (spots)