Hi everybody!
I’m using Tensorflow.js and trying to load a csv file with Danfojs readCSV method. My code is below:
const dfd = require('danfojs-node')
dfd.readCSV("train.csv").then(df => {
console.log('hi')
df.describe().print()
}).catch((erro) => {
console.log(erro)
})
If I run this code in VS Code, it outputs nothing.
If I run the code in Node command line, I get the following output:
Promise {
<pending>,
[Symbol(async_id_symbol)]: 588,
[Symbol(trigger_async_id_symbol)]: 584,
[Symbol(destroyed)]: { destroyed: false }
}
I’ve noted that readCSV show no error if I use an empty string as argument.
What am I doing wrong?