Could please someone show an example of applying the number format to the cell. For example, I need scientific format, form would be like \'2.45E+05\' but I couldn\'t figure
Note: this answer worked with earlier versions of openpyxl, but does not work with openpyxl 2.0
This is how to do it:
_cell.style.number_format.format_code = '0.00E+00'