-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jonas Almeida edited this page Sep 26, 2025
·
9 revisions
Notes on data structure with the help of Gemini 2.5 PRO
Normally we may treat data wrangling as a script, for example
txt = await(await fetch('https://raw.githubusercontent.com/epiverse/nico/refs/heads/main/Electronic%20path%20data%20example(Sheet1).csv')).text()
rows=txt.split(/\r\n/).slice(0,-1) // blank tail removed
rows=rows.map(function(row){return {txt:row,report_id:row.match(/[\w]+/)[0]}})But one can also make some attributes available simply by exporting them. Let's restart by loading the model first
nico = await import('https://epiverse.github.io/nico/nico.mjs')docs = await (await fetch('https://raw.githubusercontent.com/epiverse/nico/refs/heads/main/extract.json')).json()We'll borrow nico's 75 docs
tsv = await cli.docs2meta()