Home > other >  Python output data need to excel in the TAB respectively, how to do?
Python output data need to excel in the TAB respectively, how to do?

Time:09-17


Every time need to use TAB exl respectively once, what method can finish this operation in python?

CodePudding user response:

You is to generate a CSV file?

With pandas directly or XLWT openpyxl generate EXCEL file, want to make how many columns, write how many columns,

CodePudding user response:

I am XLSX exported, use is to_excel, results of time is such a need to use TAB exl built respectively

CodePudding user response:

refer to the second floor weixin_43330585 response:
I am XLSX exported, the outcome of the use is to_excel, time is such a need to use TAB exl built respectively

Use to_excel not directly, is the specifications of the excel table directly, unless you have no good points

CodePudding user response:

If it is included in the original characters TAB should be \ t, get rid of it

CodePudding user response:

Print a few lines before you export data,
Stick down your export code again and have a look

CodePudding user response:

Is certainly before you to_excel data have no the good, good points before to_excel columns are generally normal excel format
  • Related