Thank you, the repr() function helped me a lot. v = unicode(values[(row_idx, col_idx)]) if v.endswith('e+12'): v = repr(values[(row_idx, col_idx)])