top of page

TensorFlow.js Academy

Subscribe to Our Mailing List

Thanks for subscribing!

Danfojs: a friend from TensorFlow.js

  • Writer: Jorge Guerra Pires
    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


 
 
 

Recent Posts

See All

Comments


bottom of page