We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`import pandas as pd import pandas.io.formats.excel mypath = <Filepath> #print(mypath) from os import listdir from os.path import isfile, join #print (listdir(mypath)) textfiles = [ join(mypath,f) for f in listdir(mypath) if '.TXT' in f] print(textfiles) for textfile in textfiles: df = pd.read_csv(textfile,sep='|', dtype=str) #df.dtypes #df.ROW = df.ROW.astype(str) df.io.formats.excel.header_style = None filename=textfile.split('.')[0] df.to_excel(filename+'.xlsx', 'Sheet1', index=False) # if your file is tab delimited `
'df.io.formats.excel.header_style = None' doesn't work any more.
How can I clean header format after convert to excel.
pd.show_versions()
Currently header is bold and has a border.
The text was updated successfully, but these errors were encountered:
I read #22773 and #25398.It seems like no good solution yet
Sorry, something went wrong.
This is a dup of the other issue you commented on. Would need a community PR to make this happen
@WillAyd does pandas have this functionality right now?
No branches or pull requests
Code Sample, a copy-pastable example if possible
Problem description
'df.io.formats.excel.header_style = None' doesn't work any more.
Expected Output
How can I clean header format after convert to excel.
Output of
pd.show_versions()
Currently header is bold and has a border.
The text was updated successfully, but these errors were encountered: