Danfojs: a friend from TensorFlow.js
- Jorge Guerra Pires
- Jul 20, 2023
- 1 min read

When I started using TensorFlow.js, it was frustrating to see that python developers had a library for dataset analysis. It is quite important to be able to analyze our datasets, being familiar with it.
It occurred to me that we have a similar solution from JavaScript called Danfojs!
const df = await
dfd.readCSV("https://docs.google.com/spreadsheets/d/e/2PACX-1vTDKT_bkGRbq2YG9injvABNihk6lXaQNsft5ZujQ7PWJ8v1bTjeulcT91JQ9j-w-ds8milOV8mR7Xjn/pub?gid=0&single=true&output=csv");
df.head().print();
df.describe().print();

As you can see, you can easily load and get familiar with your dataset. Even though I am using a published spreadsheet, you can access data locally.
Based on: Learning TensorFlow.js. Book by Gant Laborde
Comments