I have a data set where product numbers are quite large, when being exported they're being made into sig fig (E+...).
I can resolve this by converting the columns affected to a text data type prior to exporting but I cannot find a way ignition v7.9 supports.
Here is what I have currently:
# Create a variable that references the data set
component = event.source.parent.getComponent('table')
data = component.data
# Use system.dataset.toCSV to turn the formatted dataset into a CSV string.
csv = system.dataset.toCSV(data)
# Use system.file.saveFile to have the user find a directory to write to.
filePath = system.file.saveFile(fileName, "csv", "Comma Separated Values")
# Check the value of filePath to make sure the user picked a path before
# attempting to write.
if filePath:
system.file.writeFile(filePath, csv)
note that the format cannot be fixed in excel, cannot convert to a string, the string remains as E+...

I don't have any experience on Ignition, since it is Python scripting embedded in Ignition and I cannot find out how to re-test my thought, but I can give you some advices.
If you want to overview it via Excel, it could achieve by several ways:
toExcel8.0 onward orexportExcel7.9 backward: https://docs.inductiveautomation.com/display/DOC79/system.dataset.exportExcel https://docs.inductiveautomation.com/display/DOC80/system.dataset.toExcel':'123456789123456789"123456", "my string here"My recommendation is your code is fine, no need to change, just to view it as notepad, notepad++