Unable to write the extracted text properly in a excel file

Published: 14/01/2020
Unable to write the extracted text properly in a excel file
Source: STACKOVERFLOW.COM

I tried to extract the data from the table and write the extracted data into an excel file using pandas. But the data does not write in the respective cells. Result: Excepted Result: Please help me with this... I tried the below solution, but it does not work for me, df.b=np.where(df.b,df.b,df.a) df.apply(lambda row: str(row['a']) + str(row['b']).replace('0.', '.'), axis=1) Here my code: i

Read more
Related news
Comment
FACEBOOK