danfo.toExcel
Converts a DataFrame or Series to Excel file, and write file to disk or download in browser.
Convert DataFrame to Excel and write to file path
const dfd = require("danfojs-node")
let data = {
Abs: [20.2, 30, 47.3],
Count: [34, 4, 5],
"country code": ["NG", "FR", "GH"],
};
let df = new dfd.DataFrame(data);
dfd.toExcel(df, { filePath: "testOut.xlsx"});Convert DataFrame to Excel and download the file in Client-side lib
Last updated