-dataset = FileAttachment("Akaki_WQ-1.csv").csv({typed: true})+dataset = { const data = await FileAttachment("Akaki_WQ-1.csv").csv({typed: true}); for (const column of data.columns) { for (const d of data) { // If any string values appear to be comma-formatted numbers, // remove the commas and then coerce them to proper numbers. if (typeof d[column] === "string" && /^(\d|,)+(\.\d+)?$/.test(d[column])) { d[column] = +d[column].replace(/,/g, ""); } } } return data; }