标签: python pandas
我使用以下pandas代码来读取文件:
file = pd.read_fwf( invoicefile, widths = widthslist, names = nameslist, converters={h:str for h in nameslist})
但是,它会删除前导空格,也会删除。我怎样才能完好无损?