After read excel file with pandas, gets the follow warning:
key code:
pd_obj = pd.read_excel("flie.xls", dtype=str, usecols=usecols, skiprows=3)
for idx, row in pd_obj.iterrows():
json_tmpl = copy.deepcopy(self.details)
json_tmpl["nameInBank"] = row["nameInBank"]
json_tmpl["totalBala"] = row["totalBala"].replace(",", '')
# parse pdf file
status = self._get_banksplip_json(json_tmpl["bankReceipts"], row)
json_buf.append(copy.deepcopy(json_tmpl))
warning info :
WARNING *** file size (48130) not 512 + multiple of sector size (512)
WARNING *** file size (44546) not 512 + multiple of sector size (512)