this works for openpyxl but it fails for xlsxwriter TypeError("NAN/INF not supported in write_number()")