一些pandas问题

1、WARNING *** file size (48130) not 512 + multiple of sector size (512)

解决办法:

import pandas as pd
import xlrd

wb = xlrd.open_workbook('file.xls', logfile=open(devnull, 'w'))
pd_obj = pd.read_excel(wb, dtype=str, usecols=usecols, skiprows=3, engine='xlrd')```
posted @ 2022-08-19 17:18  Nightever  阅读(143)  评论(0编辑  收藏  举报