I tried to send a pandas dataframe to excel using xlwings and the elements of the dataframe are getting truncated. Here is a toy example:
import pandas as pd
from xlwings import Workbook, Range
wb = Workbook()
mydata = {'00': [0.000000e+00, 1.133106e+08, 1.112194e+08], '01': [0.000000e+00, 1.125851e+08, 1.104678e+08], '02': [0.000000e+00, 1.118832e+08, 1.113757e+08]}
mymonth = [0, 1, 2]
mydf = pd.DataFrame(data=mydata, index=mymonth)
Range("A1").value = mydf
I tried to send a pandas dataframe to excel using xlwings and the elements of the dataframe are getting truncated. Here is a toy example:
I'm using: