v2.6 ValueError: Cannot convert xxx to Excel
Created originally on Bitbucket by shahardoxx (Shahar Dolev)
Trying to set:
#!python
ws.cell(row=r, column=2).value = x[i]
receiving assert: "ValueError: Cannot convert xxx to Excel"
I'm using numpy on windows, 'x' is a numpy.float64, however, NUMERIC_TYPES includes only numpy.floating. Hence on cell.py, line 196, doesn't catch float64 and the code reaches line 218:
#!python
raise ValueError("Cannot convert {0!r} to Excel".format(value))