1 shuju = pd.read_excel(filename)
2 loandata = pd.DataFrame(shuju)
3 ncol = (len(loandata.keys()))
4
5 data = loandata[loandata['时间'].isin(['2016/8/28 8:00'])].index #“时间”是列标,查看2016/8/28 8:00所在的行号
转载于:https://www.cnblogs.com/shizhenqiang/p/8184519.html
相关资源:js读取本地excel文档数据
转载请注明原文地址: https://mac.8miu.com/read-1802.html