danfo.readCSV
Reads a comma-separated values (CSV) file into DataFrame. Also supports the reading of CSV files in chunks.
Reading files from local disk
const dfd = require("danfojs-node")
dfd.readCSV("./user_names.csv") //assumes file is in CWD
.then(df => {
df.head().print()
}).catch(err=>{
console.log(err);
})Reading files from a URL
Reading an input file object in the browser
Last updated