首页 > 其他分享 >一些pandas问题

一些pandas问题

时间:2022-08-19 17:22:56浏览次数:64  
标签:file 问题 pd usecols 一些 xlrd open 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')```

标签:file,问题,pd,usecols,一些,xlrd,open,pandas
From: https://www.cnblogs.com/night-ever/p/16602732.html

相关文章