Mar-20-2020, 06:53 AM
I am using python "to_html" function to convert csv data into html format to be sent in email:
, which is not part of the originalcsv file.Any ideawhy I am seeing this and howto eliminate this
junk text characters ?
df= pd.read_csv(filename,names=columns,index_col=0) with open('final.html','w') as f: print(df.to_html(),file=f)I am getting some unknown text like "ISO 9075" appended to the end of last column text values in some rows
, which is not part of the originalcsv file.Any ideawhy I am seeing this and howto eliminate this
junk text characters ?